Sample application for my presentation on Capistrano at KC Ruby, March, 2015.
- Aaron Sumner
- @ruralocity (Twitter, GitHub)
- see bootstrap.sh for basic server configuration
- using vagrant user for deploys
- using sqlite3 in production
- secrets are in repo (but part of server provisioning)
- refer to Gemfile for dependencies
bundle exec cap install
- customize Capfile, config/deploy.rb, and config/deploy/.rb as needed
cap <env> deploy
cap <env> deploy:rollback
- see lib/capistrano/tasks/uptime.rake
- Capistrano documentation
- Deploying Rails (out of print and out of date)
- Railscasts series on Capistrano (out of date)
- Walkthrough of deploying Rails on a VM using Capistrano