Commit 95ca6ffb authored by okhin's avatar okhin

Adding SITE_ID to the preprod env

parent 16f106b5
Pipeline #1055 passed with stages
in 2 minutes and 27 seconds
......@@ -62,6 +62,7 @@ deploy preprod:
- pip install --upgrade -r requirements-dev.txt
- echo "DEBUG = True" > ${BASE_PATH}/project/settings/env.py
- echo "SECRET_KEY = '$(pwgen 20 1)'" >> ${BASE_PATH}/project/settings/env.py
- echo "SITE_ID = 2" >> ${BASE_PATH}/project/settings/env.py
- ${BASE_PATH}/manage.py migrate
- chmod g+rw ${BASE_PATH}/db.sqlite3
- touch ${BASE_PATH}/ready
......
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