summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRemy van Elst <relst@relst.nl>2014-04-04 10:19:40 +0200
committerRemy van Elst <relst@relst.nl>2014-04-04 10:19:40 +0200
commit68436e964fa1220c3fa040fa501324a729eabb70 (patch)
tree60e23185d4b7cc1bc54cfd5a2a15cffe13ef5947 /doc
parent49a5159946bc8added6258f62efcf7674e4b0562 (diff)
downloadgitlab-ce-68436e964fa1220c3fa040fa501324a729eabb70.tar.gz
Add one line upgrade command.
Diffstat (limited to 'doc')
-rw-r--r--doc/update/upgrader.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/update/upgrader.md b/doc/update/upgrader.md
index 305ef961be5..fd45154ac82 100644
--- a/doc/update/upgrader.md
+++ b/doc/update/upgrader.md
@@ -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