diff options
author | Sytse Sijbrandij <sytse@dosire.com> | 2013-06-16 22:06:33 +0200 |
---|---|---|
committer | Sytse Sijbrandij <sytse@dosire.com> | 2013-06-16 22:06:33 +0200 |
commit | 8ccad7c3c7f93b4b4b217ad8bd356083632e8a05 (patch) | |
tree | c97883e3e4fc508a4ac62182b8991390edf9f98e /doc/install/installation.md | |
parent | f01d482427dd586c9b7b36887941e8af6bb42391 (diff) | |
download | gitlab-ce-8ccad7c3c7f93b4b4b217ad8bd356083632e8a05.tar.gz |
Fix spelling error and make sure you never log in as git user so you never have to logout to run sudo.
Diffstat (limited to 'doc/install/installation.md')
-rw-r--r-- | doc/install/installation.md | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 0fab6bf3d17..c94bfe1b76b 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -108,28 +108,25 @@ Create a `git` user for Gitlab: GitLab Shell is a ssh access and repository management software developed specially for GitLab. - # Login as git - sudo su git - # Go to home directory cd /home/git # Clone gitlab shell - git clone https://github.com/gitlabhq/gitlab-shell.git + sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git cd gitlab-shell # switch to right version - git checkout v1.4.0 + sudo -u git -H git checkout v1.4.0 - cp config.yml.example config.yml + sudo -u git -H cp config.yml.example config.yml # Edit config and replace gitlab_url # with something like 'http://domain.com/' - vim config.yml + sudo -u git -H vim config.yml # Do setup - ./bin/install + sudo -u git -H ./bin/install # 5. Database @@ -213,7 +210,7 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup. # Make sure to update username/password in config/database.yml. # You only need to adapt the production settings (first part). - # If you followed the database guide than please do as follows: + # If you followed the database guide then please do as follows: # Change 'root' to 'gitlab' # Change 'secure password' with the value you have given to $password # You can keep the double quotes around the password |