diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-05-22 18:27:32 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-05-27 11:14:39 +0400 |
commit | bfc561e4863380f046ca7953da717d6e09a46122 (patch) | |
tree | 741c5b0820619ea3ecfd2d5664802d2f27013eed | |
parent | de41e7a3da92d6f3ef9ad608732ef96c9019724a (diff) |
Add missing lines in update guide.
-rw-r--r-- | doc/update/6.8-to-6.9.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/update/6.8-to-6.9.md b/doc/update/6.8-to-6.9.md index a5e644b8a07..4a3e45ae5ee 100644 --- a/doc/update/6.8-to-6.9.md +++ b/doc/update/6.8-to-6.9.md @@ -52,6 +52,12 @@ sudo -u git -H bundle install --without development test postgres --deployment # PostgreSQL installations (note: the line below states '--without ... mysql') 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 + +# 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 |