christoomey/hacks — Issue #15: Capistrano Deployment
Author: christoomey
Created: 2011-10-12 13:03:18+00:00
State: open

Setup Capistrano to deploy rails app. Would want the following steps:

- Git repo clean?
- Local Rspec
- Local asset precompile
- git pull (remote)
- if migrations
- backup db
- run migration
- `bundle install` if Gemfile updated
- rsync assets
- update symlink
- restart