By pallopchao
I developed rails project and using Mongoid gem for using MongoDB on Rails project.
Everything going well on local, but I know nothing about how to setup on DigitalOcean.
I try to create One-click Apps droplet on Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn). And put my project instead of default rails project and edit the working_directory in /etc/unicorn.conf point to my project.
Is there anything I have to config more ??
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!
This tutorial covers all the basics of getting an application up and running on top of the DigitalOcean Ruby on Rails One-Click app:
It explains what is included and should point you in the right direction. There are a number of other places you would need to update besides /etc/unicorn.conf You need to update the path to your public folder in /etc/nginx/sites-enabled/rails as well as the APP_ROOT in /etc/default/unicorn Though both the One-Click and the tutorial use Postgres for the database. If you are not using Postgres, it might make more sense for you to set up your project on a clean Droplet in order to not run services that you have no need for.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.