I created a new droplet using marketplace and everything worked fine I got to see the example app that comes by default. But I couldn’t find any documentation on how to deploy my own application and not use the example application.
I tried cloning my app and changing the rails file inside the /etc/nginx/sites-enabled to point to the root /home/rails/Prueba/public instead of root /home/rails/example/public but it did not work.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello,
The image from the Marketplace uses Puma, I will recommend following the steps from this tutorial on how to add new rails apps with Puma and Nginx:
How To Deploy a Rails App with Puma and Nginx on Ubuntu 14.04