Commit ed35ea70 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix order of db setup in installation docs

parent a7b572d0
......@@ -55,14 +55,3 @@ GitLab supports the following databases:
# Try connecting to the new database with the new user
sudo -u gitlab -H psql -d gitlabhq_production
# Configure GitLab
# Mysql
sudo -u gitlab cp config/database.yml.mysql config/database.yml
# PostgreSQL
sudo -u gitlab cp config/database.yml.postgresql config/database.yml
Make sure to update username/password in config/database.yml.
......@@ -199,12 +199,27 @@ do so with caution!
**Important Note:**
Make sure to edit both files to match your setup.
## Configure GitLab DB settings
# Mysql
sudo -u gitlab cp config/database.yml.mysql config/database.yml
# PostgreSQL
sudo -u gitlab cp config/database.yml.postgresql config/database.yml
Make sure to update username/password in config/database.yml.
## Install Gems
cd /home/gitlab/gitlab
sudo gem install charlock_holmes --version '0.6.9'
sudo -u gitlab -H bundle install --deployment --without development test
# For mysql db
sudo -u gitlab -H bundle install --deployment --without development test postgres
# Or For postgres db
sudo -u gitlab -H bundle install --deployment --without development test mysql
## Configure Git
......
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