Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download and deploy new code from avalon repo

Code Block
languagebash
git checkout master
git pull

Update gems and DB

Code Block
languagebash
bundle installbundle exec rake db:migrate

Restart passenger (if using)

Code Block
languagebash
passenger-config restart-app

Restart Resque (background jobs processor)

Code Block
languagebash
pkill -f resque
RAILS_ENV=production BACKGROUND=yes bundle exec rake resque:scheduler
RAILS_ENV=production BACKGROUND=yes COUNT=3 QUEUE=* bundle exec rake resque:workers

For Docker install:

For users who installed Avalon using our docker-compose script

...