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

Posted June 23, 2020 455 views
Ruby on RailsNginx

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.

Submit an Answer
1 answer


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

by Mitchell Anicas
When you are ready to deploy your Ruby on Rails application, there are many valid setups to consider. This tutorial will help you deploy the production environment of your Ruby on Rails application, with PostgreSQL as the database, using Puma and Nginx on Ubuntu 14.04. Puma...