...
Code Block |
---|
|
gem install bundler -v 2.0.2
bundle install --with production --without development test
RAILS_ENV=production bundle exec rake db:migrate |
...
3. Copy rightsstatement.org controlled vocabulary from config/controlled_vocabulary.yml.example into config/controlled_vocabulary.yml
4. Update configuration
Settings.matterhorn.media_path
is now Settings.encoding.working_file_path
Settings.timeliner.timeliner_url
tells Avalon where the timerliner app is mountedSettings.homepage.featured_collections
is an array of collections to be featured on the homepageSettings.homepage.carousel_collections
is an array of collections to be displayed at the bottom of the homepage
5. Restart passenger (if using)
Code Block |
---|
|
passenger-config restart-app |
56. Replace Resque with Sidekiq (background jobs processor). Look at our Manual Instructions for more details.
Code Block |
---|
|
pkill -f resque
RAILS_ENV=production bundle exec sidekiq -d -C config/sidekiq.yml |
...
Code Block |
---|
|
docker-compose up avalon worker |