Skip to content
Snippets Groups Projects
Commit 3bb1adc9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'fixes_in_install_guide' of /home/git/repositories/gitlab/gitlab-ci into 3-1-stable

parents 7626602f 8708662c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -40,7 +40,12 @@ Install the Bundler Gem:
sudo gem install bundler --no-ri --no-rdoc
 
 
## 3. Prepare the database
## 3. GitLab CI user:
sudo adduser --disabled-login --gecos 'GitLab CI' gitlab_ci
## 4. Prepare the database
 
You can use either MySQL or PostgreSQL.
 
Loading
Loading
@@ -82,14 +87,7 @@ You can use either MySQL or PostgreSQL.
template1=# \q
 
# Try connecting to the new database with the new user
sudo -u git -H psql -d gitlab_ci_production
## 4. GitLab CI user:
sudo adduser --disabled-login --gecos 'GitLab CI' gitlab_ci
sudo -u gitlab_ci -H psql -d gitlab_ci_production
 
## 5. Get code
 
Loading
Loading
@@ -110,9 +108,9 @@ You can use either MySQL or PostgreSQL.
sudo -u gitlab_ci -H vim config/puma.rb
 
# Create socket and pid directories
sudo -u gitlab_ci -H mkdir tmp/sockets/
sudo -u gitlab_ci -H mkdir -p tmp/sockets/
sudo chmod -R u+rwX tmp/sockets/
sudo -u gitlab_ci -H mkdir tmp/pids/
sudo -u gitlab_ci -H mkdir -p tmp/pids/
sudo chmod -R u+rwX tmp/pids/
 
### Install gems
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment