tasks
docs.google.com/document/d/1EST5BwFEdRLBQVG2tMiBWGFDTNn0TSETT7uMwXqGtBE/edit?pli=1
template
-
git pull
(on master branch) -
git checkout production
-
git pull
(on production branch) -
git merge master
-
rake assets:precompile --trace RAILS_ENV=production
-
git add -p
-
git commit -a -m "message"
-
git push
-
git push heroku production:master
-
heroku run rake db:migrate
(if you have new migrations) -
heroku restart
(if you have new migrations)
-
heroku logs --tail
-
heroku run rails console