Rails (Re)Deployment - OpenDemocracyManitoba/winnipegelection GitHub Wiki
The initially deploy is described in the README.
Redeployment:
cd /var/www/winnipegelection/production
git pull
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake assets:precompile
touch tmp/restart.txt