By squarefrog
I have just started out with Rails development, and I have been manually copying my source over sftp to my pre-built Rails droplet.
I’d like to take this further and deploy using git and Capistrano. All of the tutorials I find take you from setting up the vps, but this part is done. I don’t know if any steps performed there are crucial.
How would you setup Capistrano using the Digital Ocean Rails (Rails, Unicorn and nginx) droplet?
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!
If you’ve already got your Rails app up and running on Unicorn and nginx, you should be ready to install and configure Capistrano. The steps setting up the Rails app and the HTTP server shouldn’t affect Capistrano, as it connects over ssh. To get an overview of the basic install, start here: <br> <br>https://www.digitalocean.com/community/articles/how-to-use-capistrano-to-automate-deployments-getting-started <br> <br>This article go more in depth. You can skip down to the “Working With Capistrano To Automate Deployments” section: <br> <br>https://www.digitalocean.com/community/articles/how-to-automate-ruby-on-rails-application-deployments-using-capistrano#WorkingWithCapistranoToAutomateDeployments
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.