Skip to content

Commit

Permalink
move 'make config/database.yml readable to git only' instruction
Browse files Browse the repository at this point in the history
I've moved the instruction in question to the the 
'Configure GitLab DB settings'. Can't change permission to a file that doesn't already exist 😉
  • Loading branch information
kivlor committed Jul 3, 2013
1 parent 7588186 commit 0c4fd05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/install/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version,
# Create directory for satellites
sudo -u git -H mkdir /home/git/gitlab-satellites

# Make config/database.yml readable to git only
sudo -u git -H chmod o-rwx config/database.yml

# Create directories for sockets/pids and make sure GitLab can write to them
sudo -u git -H mkdir tmp/pids/
sudo -u git -H mkdir tmp/sockets/
Expand Down Expand Up @@ -218,6 +215,9 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup.
# Change 'secure password' with the value you have given to $password
# You can keep the double quotes around the password
sudo -u git -H vim config/database.yml

# Make config/database.yml readable to git only
sudo -u git -H chmod o-rwx config/database.yml

## Install Gems

Expand Down

0 comments on commit 0c4fd05

Please sign in to comment.