diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-11-26 10:31:02 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-11-26 10:31:02 +0100 |
commit | c275169a1bdfd6c45ac29be9bc0e4e3d6435a8fb (patch) | |
tree | 807db733b1cba72f2edad5d47d1072a998f1d31f /doc | |
parent | 6f17221b7a7861ca077f75ca563888eaab79ad1d (diff) | |
download | gitlab-ce-c275169a1bdfd6c45ac29be9bc0e4e3d6435a8fb.tar.gz |
Explain and streamline upgrade steps
Diffstat (limited to 'doc')
-rw-r--r-- | doc/update/6.2-to-6.3.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/update/6.2-to-6.3.md b/doc/update/6.2-to-6.3.md index 88b91895f92..ad4a5095447 100644 --- a/doc/update/6.2-to-6.3.md +++ b/doc/update/6.2-to-6.3.md @@ -46,10 +46,11 @@ sudo -u git -H bundle install --without development test postgres --deployment sudo -u git -H bundle install --without development test mysql --deployment +# Run database migrations sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production -sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production -sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production -sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production + +# Clean up assets and cache +sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production ``` ### 5. Update config files |