Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
3c37402d
Commit
3c37402d
authored
Dec 23, 2016
by
Daniel W Bond
Browse files
find and replace 'localhost' with 'mysql' for the database host for cithings
parent
f90596df
Pipeline
#667
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3c37402d
...
...
@@ -21,6 +21,7 @@ test_Roomlist:
-
export SECRET_KEY=$(dd if=/dev/urandom count=100 | tr -dc "A-Za-z0-9" | fold -w 60 | head -n1 2>/dev/null)
-
sed -i roomlist/settings/secret.py -e 's/SECRET_KEY.*/SECRET_KEY = \"${SECRET_KEY}\"/'
-
sed -i roomlist/settings/secret.py -e 's/DB_PASSWORD.*/DB_PASSWORD = \"root\"/'
-
sed -i roomlist/settings/settings.py -e "s/'HOST':\ 'localhost'/'HOST'
:
'
mysql'/g"
-
cd roomlist
-
python manage.py makemigrations accounts
-
python manage.py makemigrations housing
...
...
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