Commit 143a03e551162680ba029ea2078ce453c40c49ab
1 parent
fd50e8e9
Exists in
master
and in
4 other branches
Update docs for 5.2
Showing
1 changed file
with
33 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | +# From 5.1 to 5.2 | |
| 2 | + | |
| 3 | +### 1. Stop server | |
| 4 | + | |
| 5 | + sudo service gitlab stop | |
| 6 | + | |
| 7 | +### 2. Get latest code | |
| 8 | + | |
| 9 | +```bash | |
| 10 | +cd /home/git/gitlab | |
| 11 | +sudo -u git -H git fetch | |
| 12 | +sudo -u git -H git checkout 5-2-stable | |
| 13 | +``` | |
| 14 | + | |
| 15 | +### 3. Update gitlab-shell | |
| 16 | + | |
| 17 | +```bash | |
| 18 | +cd /home/git/gitlab-shell | |
| 19 | +sudo -u git -H git fetch | |
| 20 | +sudo -u git -H git checkout v1.4.0 | |
| 21 | +``` | |
| 22 | + | |
| 23 | +### 4. Install libs, migrations etc | |
| 24 | + | |
| 25 | +```bash | |
| 26 | +cd /home/git/gitlab | |
| 27 | +sudo -u git -H bundle install --without development test postgres --deployment | |
| 28 | +sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production | |
| 29 | +``` | |
| 30 | + | |
| 31 | +### 5. Start application | |
| 32 | + | |
| 33 | + sudo service gitlab start | ... | ... |