summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kaufmann III <rok3@rokthree.com>2013-08-26 13:23:14 -0400
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-08-27 18:19:44 +0200
commit8708662c9c89833da9481e224003a91862feeca0 (patch)
treea4b5f02b89dc7dc89c2559ffa69602cb5d0d42f1
parent7e0ab7b4d193b0d3d79685635ba9f533c4e8d593 (diff)
downloadgitlab-ci-8708662c9c89833da9481e224003a91862feeca0.tar.gz
Update installation.md: Correct Postgresql username and move user creation above database prep.
-rw-r--r--doc/installation.md16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/installation.md b/doc/installation.md
index 0df2179..d4f56f8 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -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.
@@ -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