mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Update guides to use gitlab-shell 2.0.1.
This commit is contained in:
@@ -257,7 +257,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
|
||||
GitLab Shell is an SSH access and repository management software developed specially for GitLab.
|
||||
|
||||
# Run the installation task for gitlab-shell (replace `REDIS_URL` if needed):
|
||||
sudo -u git -H bundle exec rake gitlab:shell:install[v2.0.0] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
|
||||
sudo -u git -H bundle exec rake gitlab:shell:install[v2.0.1] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
|
||||
|
||||
# By default, the gitlab-shell config is generated from your main GitLab config.
|
||||
# You can review (and modify) the gitlab-shell config as follows:
|
||||
|
||||
@@ -116,7 +116,7 @@ sudo apt-get install pkg-config cmake
|
||||
```bash
|
||||
cd /home/git/gitlab-shell
|
||||
sudo -u git -H git fetch
|
||||
sudo -u git -H git checkout v2.0.0
|
||||
sudo -u git -H git checkout v2.0.1
|
||||
```
|
||||
|
||||
## 7. Install libs, migrations, etc.
|
||||
|
||||
@@ -39,7 +39,7 @@ sudo -u git -H git checkout 7-3-stable-ee
|
||||
```bash
|
||||
cd /home/git/gitlab-shell
|
||||
sudo -u git -H git fetch
|
||||
sudo -u git -H git checkout v2.0.0
|
||||
sudo -u git -H git checkout v2.0.1
|
||||
```
|
||||
|
||||
### 4. Install libs, migrations, etc.
|
||||
|
||||
@@ -47,12 +47,12 @@ If all items are green, then congratulations upgrade is complete!
|
||||
|
||||
If the `gitlab:check` task reports an outdated version of `gitlab-shell` you should upgrade it.
|
||||
|
||||
Upgrade it by running the commands below after replacing 2.0.0 with the correct version number:
|
||||
Upgrade it by running the commands below after replacing 2.0.1 with the correct version number:
|
||||
|
||||
```
|
||||
cd /home/git/gitlab-shell
|
||||
sudo -u git -H git fetch
|
||||
sudo -u git -H git checkout v2.0.0
|
||||
sudo -u git -H git checkout v2.0.1
|
||||
```
|
||||
|
||||
## One line upgrade command
|
||||
|
||||
Reference in New Issue
Block a user