mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 18:16:45 +10:00
Add one line upgrade command.
This commit is contained in:
@@ -40,3 +40,10 @@ To make sure you didn't miss anything run a more thorough check with:
|
||||
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
|
||||
|
||||
If all items are green, then congratulations upgrade is complete!
|
||||
|
||||
|
||||
### One line upgrade command
|
||||
|
||||
You've read through the entire guide, and probably did all the steps manually. Here is a one liner for convenience, the next time you upgrade:
|
||||
|
||||
cd /home/git/gitlab; sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production; sudo service gitlab stop; sudo -u git -H ruby script/upgrade.rb -y; sudo service gitlab start; sudo service nginx restart; sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
|
||||
|
||||
Reference in New Issue
Block a user