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
c17570d3
Commit
c17570d3
authored
Mar 27, 2017
by
bogdanvlviv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update scripts/prepare_build.sh
parent
209e656e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
scripts/prepare_build.sh
scripts/prepare_build.sh
+2
-4
No files found.
scripts/prepare_build.sh
View file @
c17570d3
...
...
@@ -27,11 +27,9 @@ fi
cp
config/database.yml.
$GITLAB_DATABASE
config/database.yml
if
[
"
$GITLAB_DATABASE
"
=
'postgresql'
]
;
then
sed
-i
's/
# host:.*/host:
postgres/g'
config/database.yml
sed
-i
's/
localhost/
postgres/g'
config/database.yml
else
# Assume it's mysql
sed
-i
's/username:.*/username: root/g'
config/database.yml
sed
-i
's/password:.*/password:/g'
config/database.yml
sed
-i
's/# host:.*/host: mysql/g'
config/database.yml
sed
-i
's/localhost/mysql/g'
config/database.yml
fi
cp
config/resque.yml.example config/resque.yml
...
...
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