Commit f90596df authored by Daniel W Bond's avatar Daniel W Bond

added the secret key (that had in fact already been created) actually to secret.py

parent 7883b416
Pipeline #666 failed with stage
in 1 minute and 22 seconds
......@@ -19,6 +19,7 @@ test_Roomlist:
- pip install coverage
- cp roomlist/settings/secret.py.template roomlist/settings/secret.py
- 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\"/'
- cd roomlist
- python manage.py makemigrations accounts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment