Commit 0cd8024d authored by Job van der Voort's avatar Job van der Voort

update readme to update to gitlab shell 1.7.9

parent 5771ff01
...@@ -49,7 +49,7 @@ sudo -u git -H git checkout 6-1-stable-ee ...@@ -49,7 +49,7 @@ sudo -u git -H git checkout 6-1-stable-ee
```bash ```bash
cd /home/git/gitlab-shell cd /home/git/gitlab-shell
sudo -u git -H git fetch sudo -u git -H git fetch
sudo -u git -H git checkout v1.7.8 sudo -u git -H git checkout v1.7.9
``` ```
### 4. Install libs, migrations, etc. ### 4. Install libs, migrations, etc.
......
...@@ -37,14 +37,22 @@ For GitLab Enterprise Edition: ...@@ -37,14 +37,22 @@ For GitLab Enterprise Edition:
sudo -u git -H git checkout 6-2-stable-ee sudo -u git -H git checkout 6-2-stable-ee
``` ```
### 3. Install additional packages ### 3. Update gitlab-shell
```bash
cd /home/git/gitlab-shell
sudo -u git -H git fetch
sudo -u git -H git checkout v1.7.9
```
### 4. Install additional packages
```bash ```bash
# Add support for lograte for better log file handling # Add support for lograte for better log file handling
sudo apt-get install logrotate sudo apt-get install logrotate
``` ```
### 4. Install libs, migrations, etc. ### 5. Install libs, migrations, etc.
```bash ```bash
cd /home/git/gitlab cd /home/git/gitlab
...@@ -62,7 +70,7 @@ sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production ...@@ -62,7 +70,7 @@ sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
``` ```
### 5. Update config files ### 6. Update config files
* Make `/home/git/gitlab/config/gitlab.yml` same as https://gitlab.com/subscribers/gitlab-ee/blob/6-2-stable-ee/config/gitlab.yml.example but with your settings. * Make `/home/git/gitlab/config/gitlab.yml` same as https://gitlab.com/subscribers/gitlab-ee/blob/6-2-stable-ee/config/gitlab.yml.example but with your settings.
* Make `/home/git/gitlab/config/unicorn.rb` same as https://gitlab.com/subscribers/gitlab-ee/blob/6-2-stable-ee/config/unicorn.rb.example but with your settings. * Make `/home/git/gitlab/config/unicorn.rb` same as https://gitlab.com/subscribers/gitlab-ee/blob/6-2-stable-ee/config/unicorn.rb.example but with your settings.
...@@ -76,7 +84,7 @@ sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers ...@@ -76,7 +84,7 @@ sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
``` ```
### 6. Update Init script ### 7. Update Init script
```bash ```bash
sudo rm /etc/init.d/gitlab sudo rm /etc/init.d/gitlab
...@@ -84,12 +92,12 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab ...@@ -84,12 +92,12 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab sudo chmod +x /etc/init.d/gitlab
``` ```
### 7. Start application ### 8. Start application
sudo service gitlab start sudo service gitlab start
sudo service nginx restart sudo service nginx restart
### 8. Check application status ### 9. Check application status
Check if GitLab and its environment are configured correctly: Check if GitLab and its environment are configured correctly:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment