Skip to content

Operations Guide: Deploying New Code

randikathryn edited this page Feb 16, 2014 · 1 revision

[Insert description of step/item here]

Steps

  1. Change to the root directory cd /opt/$HYDRA_NAME
  2. Pull the fresh code from github git pull
  3. Install/update the gems bundle --deployment
  4. Migrate the database RAILS_ENV=production bundle exec rake db:migrate
  5. Restart passenger touch /opt/$HYDRA_NAME/tmp/restart.txt
Clone this wiki locally