Explain and streamline upgrade steps
This commit is contained in:
parent
6f17221b7a
commit
c275169a1b
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue