Skip to content
jojo080889 edited this page Feb 13, 2013 · 3 revisions

Welcome to the story-collab wiki!


Deploying Notes

Deploy (from local machine)

git checkout release

git merge master

git push origin release

cap deploy

Deploy_to Location

/var/www/story-collab

Restart server (on remote machine)

sudo /etc/init.d/apache2 restart

Logs

/var/logs/apache2/error.log and access.log

{deploy_to}/current/log/production.log

Migrate in Production

rake db:migrate RAILS_ENV=production

rake assets:precompile