mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 04:26:08 +10:00
Fix version mismatch for installations docs
This commit is contained in:
@@ -132,10 +132,10 @@ To setup the MySQL/PostgreSQL database and dependencies please see [`doc/install
|
||||
cd /home/git/gitlab
|
||||
|
||||
# Checkout to stable release
|
||||
sudo -u git -H git checkout 5-0-stable
|
||||
sudo -u git -H git checkout 5-1-stable
|
||||
|
||||
**Note:**
|
||||
You can change `5-0-stable` to `master` if you want the *bleeding edge* version, but
|
||||
You can change `5-1-stable` to `master` if you want the *bleeding edge* version, but
|
||||
do so with caution!
|
||||
|
||||
## Configure it
|
||||
@@ -200,7 +200,7 @@ Make sure to update username/password in config/database.yml.
|
||||
|
||||
Download the init script (will be /etc/init.d/gitlab):
|
||||
|
||||
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab
|
||||
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/5-1-stable/init.d/gitlab
|
||||
sudo chmod +x /etc/init.d/gitlab
|
||||
|
||||
Make GitLab start on boot:
|
||||
@@ -241,7 +241,7 @@ If you can't or don't want to use Nginx as your web server, have a look at the
|
||||
|
||||
Download an example site config:
|
||||
|
||||
sudo curl --output /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/master/nginx/gitlab
|
||||
sudo curl --output /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/5-1-stable/nginx/gitlab
|
||||
sudo ln -s /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab
|
||||
|
||||
Make sure to edit the config file to match your setup:
|
||||
|
||||
Reference in New Issue
Block a user