Report this

What is the reason for this report?

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

Posted on June 23, 2020

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.



This textbox defaults to using Markdown to format your 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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.