Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ed35ea70
Commit
ed35ea70
authored
Dec 22, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix order of db setup in installation docs
parent
a7b572d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
doc/install/databases.md
doc/install/databases.md
+0
-11
doc/install/installation.md
doc/install/installation.md
+16
-1
No files found.
doc/install/databases.md
View file @
ed35ea70
...
@@ -55,14 +55,3 @@ GitLab supports the following databases:
...
@@ -55,14 +55,3 @@ GitLab supports the following databases:
# Try connecting to the new database with the new user
# Try connecting to the new database with the new user
sudo -u gitlab -H psql -d gitlabhq_production
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.
doc/install/installation.md
View file @
ed35ea70
...
@@ -199,12 +199,27 @@ do so with caution!
...
@@ -199,12 +199,27 @@ do so with caution!
**Important Note:**
**Important Note:**
Make sure to edit both files to match your setup.
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
## Install Gems
cd /home/gitlab/gitlab
cd /home/gitlab/gitlab
sudo gem install charlock_holmes --version '0.6.9'
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
## Configure Git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment