How to customize my droplet when using marketplace to deploy another application other than the default example app?

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


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