From 3296fb9f3a30fab41bac61b2afbe689cfcbbd15f Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 22 May 2014 16:27:32 +0200 Subject: [PATCH] Add missing lines in update guide. --- doc/update/6.8-to-6.9.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/update/6.8-to-6.9.md b/doc/update/6.8-to-6.9.md index a5e644b8a0..4a3e45ae5e 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