Resources from the Railsconf 2014 Presentation by Ben Dixon (@talkingquickly)
Provisioning a VPS for a rails application.
This tutorial covers how to use Chef Solo to prepare a Digital Ocean, Linode or Rackspace cloud VPS for deployment of a Rails VPS. Estimated completion time: 1 hour.
Setting up a Rails VPS with Chef
Using Capistrano 3 to deploy to a VPS.
This tutorial covers using Capistrano 3 to deploy a new or existing Rails 3 or 4 application to a VPS which has been prepared using the previous tutorial. Estimated completion time: 30 minutes.
Deploying With Capistrano 3
Chef Solo Sample Code.
This is the sample code for the provisioning tutorial above, it is the base code which I use for deploying many different Rails and Sinatra applications on a daily basis.
Capistrano 3 Sample Code
This is the sample code for the Capistrano 3 Tutorial above.
All of the helper tasks as well as some extra ones are also available packaged into a gem:
The Reliably Deploying Rails Applications book builds on exactly the same sample code as the above tutorials and covers the detail of how to create your own chef recipes, setup and debug zero downtime deployment and automate day to day maintenance tasks.
Feel free to get in touch on twitter http://www.twitter.com/talkingquickly with any questions.