summaryrefslogtreecommitdiff
path: root/doc/update/4.1-to-4.2.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-04-30 09:29:30 +0200
committerYves Senn <yves.senn@gmail.com>2013-04-30 09:29:30 +0200
commita7ad09543ef415967b3d6ea25781601697f95571 (patch)
tree4b733776e957682fb1944446940fecacb54b4314 /doc/update/4.1-to-4.2.md
parente7adcaa55b01ced9139135aeef072c2ee776ed0d (diff)
downloadgitlab-ce-a7ad09543ef415967b3d6ea25781601697f95571.tar.gz
move the update guides from the wiki into the repo
Diffstat (limited to 'doc/update/4.1-to-4.2.md')
-rw-r--r--doc/update/4.1-to-4.2.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/update/4.1-to-4.2.md b/doc/update/4.1-to-4.2.md
new file mode 100644
index 00000000000..15fea593560
--- /dev/null
+++ b/doc/update/4.1-to-4.2.md
@@ -0,0 +1,34 @@
+# From 4.1 to 4.2
+
+### 1. Stop server & resque
+
+ sudo service gitlab stop
+
+### 2. Update code & db
+
+```bash
+# Get latest code
+sudo -u gitlab git fetch
+
+sudo -u gitlab git checkout 4-2-stable
+
+# Install libs
+sudo -u gitlab bundle install --without development test postgres --deployment
+
+# update db
+sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production
+
+```
+
+
+### 3. Check GitLab's status
+
+```bash
+sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
+```
+
+
+
+### 4. Start all
+
+ sudo service gitlab start