From 159cd0d742df2ed3b234f47cb19d99b68434c9fe Mon Sep 17 00:00:00 2001 From: Andrew Kumanyaev Date: Sun, 24 Mar 2013 13:48:23 +0400 Subject: [PATCH 1/2] Update databases.md --- doc/install/databases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/install/databases.md b/doc/install/databases.md index 2c4fb9db..fade5d4f 100644 --- a/doc/install/databases.md +++ b/doc/install/databases.md @@ -38,10 +38,10 @@ GitLab supports the following databases: sudo -u postgres psql -d template1 # Create a user for GitLab. (change $password to a real password) - template1=# CREATE USER gitlab WITH PASSWORD '$password'; + template1=# CREATE USER git WITH PASSWORD '$password'; # Create the GitLab production database & grant all privileges on database - template1=# CREATE DATABASE gitlabhq_production OWNER gitlab; + template1=# CREATE DATABASE gitlabhq_production OWNER git; # Quit the database session template1=# \q From 4cc27fd9e1cd1a2073737f94b62a19a169aac32e Mon Sep 17 00:00:00 2001 From: Andrew Kumanyaev Date: Sun, 24 Mar 2013 14:10:32 +0400 Subject: [PATCH 2/2] Update database.yml.postgresql --- config/database.yml.postgresql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml.postgresql b/config/database.yml.postgresql index 2bc0884f..4a4aa346 100644 --- a/config/database.yml.postgresql +++ b/config/database.yml.postgresql @@ -6,7 +6,7 @@ production: encoding: unicode database: gitlabhq_production pool: 5 - username: gitlab + username: git password: # host: localhost # port: 5432