Merge pull request #3695 from c7l8/5-1-stable

5.0-to-5.1.md - gitlab-shell update instructions.
This commit is contained in:
Dmitriy Zaporozhets
2013-04-24 05:47:47 -07:00
+11 -3
View File
@@ -16,7 +16,15 @@ sudo -u git -H git checkout 5-1-stable
```
### 3. Install libs, migrations etc
### 3. Update gitlab-shell
```
cd /home/git/gitlab-shell
sudo -u git -H git fetch
sudo -u git -H git checkout v1.3.0
```
### 4. Install libs, migrations etc
```
sudo rm tmp/sockets/gitlab.socket
@@ -29,7 +37,7 @@ sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production
```
### 4. Update init.d script with a new one
### 5. Update init.d script with a new one
```bash
# init.d
@@ -38,6 +46,6 @@ sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-rec
sudo chmod +x /etc/init.d/gitlab
```
### 5. Start application
### 6. Start application
sudo service gitlab start