From c275169a1bdfd6c45ac29be9bc0e4e3d6435a8fb Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 26 Nov 2013 10:31:02 +0100 Subject: Explain and streamline upgrade steps --- doc/update/6.2-to-6.3.md | 7 ++++--- 1 file 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 -- cgit v1.2.1