Commit 3296fb9f3a30fab41bac61b2afbe689cfcbbd15f

Authored by Marin Jankovski
1 parent 38d0e001

Add missing lines in update guide.

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
doc/update/6.8-to-6.9.md
@@ -52,6 +52,12 @@ sudo -u git -H bundle install --without development test postgres --deployment @@ -52,6 +52,12 @@ sudo -u git -H bundle install --without development test postgres --deployment
52 52
53 # PostgreSQL installations (note: the line below states '--without ... mysql') 53 # PostgreSQL installations (note: the line below states '--without ... mysql')
54 sudo -u git -H bundle install --without development test mysql --deployment 54 sudo -u git -H bundle install --without development test mysql --deployment
  55 +
  56 +# Run database migrations
  57 +sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
  58 +
  59 +# Clean up assets and cache
  60 +sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
55 ``` 61 ```
56 62
57 ### 5. Update config files 63 ### 5. Update config files