How do you setup Capistrano using the Rails droplet?

March 15, 2014 2k views
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?
1 Answer
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:

This article go more in depth. You can skip down to the "Working With Capistrano To Automate Deployments" section:
by O.S. Tezer
In this DigitalOcean article, we will be taking a good look at Capistrano: a Ruby based remote server automation tool which can be easily used to automate mundane deployment and system management tasks.
Have another answer? Share your knowledge.