...
Upgrade Steps
For manual install:
Download and deploy new code from avalon repo
Code Block |
---|
|
git checkout master
git pull |
Update gems and DB
Code Block |
---|
|
bundle install
RAILS_ENV=production bundle exec rake db:migrate |
Restart passenger (if using)
Code Block |
---|
|
passenger-config restart-app |
Restart Resque (background jobs processor)
Code Block |
---|
|
pkill -f resque
RAILS_ENV=production BACKGROUND=yes bundle exec rake resque:scheduler
RAILS_ENV=production BACKGROUND=yes QUEUE=* bundle exec rake resque:work |
For Docker install:
For users who installed Avalon using our docker-compose script
...
Code Block |
---|
|
git checkout master
git pull |
Download new images and update the containers
Code Block |
---|
|
docker-compose pull
docker-compose up |
Upgrade to using Database-backed Noid ID Minter
...