mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-12 06:06:05 +10:00
Explain and streamline upgrade steps
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user