Commit c275169a1bdfd6c45ac29be9bc0e4e3d6435a8fb
1 parent
6f17221b
Exists in
master
and in
4 other branches
Explain and streamline upgrade steps
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
doc/update/6.2-to-6.3.md
| ... | ... | @@ -46,10 +46,11 @@ sudo -u git -H bundle install --without development test postgres --deployment |
| 46 | 46 | sudo -u git -H bundle install --without development test mysql --deployment |
| 47 | 47 | |
| 48 | 48 | |
| 49 | +# Run database migrations | |
| 49 | 50 | sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production |
| 50 | -sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production | |
| 51 | -sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production | |
| 52 | -sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production | |
| 51 | + | |
| 52 | +# Clean up assets and cache | |
| 53 | +sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production | |
| 53 | 54 | ``` |
| 54 | 55 | |
| 55 | 56 | ### 5. Update config files | ... | ... |