Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

05 Upgrading Hashview

ccammilleri edited this page Dec 3, 2018 · 8 revisions

Upgrade to latest (0.7.4-beta)

  1. Stop all active jobs

  2. Backup your database (optional but recommended)

   mysqldump -u $USER -p --databases hashview > ~/hashview.sql
  1. Get updated code
   git pull
  1. Upgrade Ruby
   rvm install 2.4.4
   rvm use 2.4.4
  1. Update Bundler (optional)
   gem install bundler
  1. Update local gems
   bundle install
  1. Perform upgrade
   RACK_ENV=production rake db:upgrade

Upgrade Process (all other versions)

  1. Stop all active jobs

  2. Backup your database (optional but recommended)

   mysqldump -u $USER -p --databases hashview > ~/hashview.sql
  1. Get updated code
   git pull
  1. Update local gems
   bundle install
  1. Perform upgrade
   RACK_ENV=production rake db:upgrade