diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-18 09:46:14 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-18 09:46:14 +0300 |
commit | 143a03e551162680ba029ea2078ce453c40c49ab (patch) | |
tree | a69eb6532caf4d5734232f187256ec5822235b3a | |
parent | fd50e8e983ea4b87af90ff79352f6c87e18bf094 (diff) | |
download | gitlab-ce-143a03e551162680ba029ea2078ce453c40c49ab.tar.gz |
Update docs for 5.2
-rw-r--r-- | doc/update/5.1-to-5.2.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/update/5.1-to-5.2.md b/doc/update/5.1-to-5.2.md new file mode 100644 index 00000000000..8f2116837b8 --- /dev/null +++ b/doc/update/5.1-to-5.2.md @@ -0,0 +1,33 @@ +# From 5.1 to 5.2 + +### 1. Stop server + + sudo service gitlab stop + +### 2. Get latest code + +```bash +cd /home/git/gitlab +sudo -u git -H git fetch +sudo -u git -H git checkout 5-2-stable +``` + +### 3. Update gitlab-shell + +```bash +cd /home/git/gitlab-shell +sudo -u git -H git fetch +sudo -u git -H git checkout v1.4.0 +``` + +### 4. Install libs, migrations etc + +```bash +cd /home/git/gitlab +sudo -u git -H bundle install --without development test postgres --deployment +sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production +``` + +### 5. Start application + + sudo service gitlab start |