Add some new installation steps to docker_pull_image.sh

Change-Id: I83e2791d6b6ac2f3f00cf6fdad428b365c2e0d01
Reviewed-on: https://gerrit.instructure.com/119072
Tested-by: Jenkins
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: Brad Horrocks <bhorrocks@instructure.com>
This commit is contained in:
Benjamin Porter 2017-07-14 17:35:24 +00:00 committed by Brad Horrocks
parent c7ec796804
commit 50703292f5
1 changed files with 8 additions and 0 deletions

View File

@ -26,8 +26,16 @@
# ```
#
# On a new installation, you will need some config files
#cp docker-compose/config/* config/
docker-compose down
docker-compose pull web
docker volume rm canvaslms_bundler canvaslms_canvas-docker-gems canvaslms_node_modules canvaslms_quizzes_node_modules canvaslms_selinimum_node_modules canvaslms_yarn-cache canvaslms_generated_1 canvaslms_generated_2 canvaslms_generated_3
docker run --rm instructure/canvas-lms:master cat Gemfile.lock > Gemfile.lock
# If this is the first time you've set this up, you instead need to run this:
#docker-compose run --rm web bash -c "bundle; bundle exec rake db:create db:initial_setup"
# If you are updating an existing installation, run this:
docker-compose run --rm web bash -c "bundle; bundle exec rake db:migrate"