mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 08:35:41 +01:00
Fix: Fix path error for secret-key-gen
This commit is contained in:
@@ -9,7 +9,7 @@ gen_key() {
|
|||||||
echo "If no previous pinry/local_settings.py generated, you can have a look and edit it."
|
echo "If no previous pinry/local_settings.py generated, you can have a look and edit it."
|
||||||
echo "If you want to use docker-compose, just edit docker-compose.yml and use 'docker-compose up'"
|
echo "If you want to use docker-compose, just edit docker-compose.yml and use 'docker-compose up'"
|
||||||
|
|
||||||
SECRET_KEY=$(bash /scripts/gen_key.sh)
|
SECRET_KEY=$(bash /pinry/docker/scripts/gen_key.sh)
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Your secret-key is(also saved/overwritten your docker's /data/production_secret_key.txt):"
|
echo "Your secret-key is(also saved/overwritten your docker's /data/production_secret_key.txt):"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ bash ${PROJECT_ROOT}/docker/scripts/bootstrap.sh
|
|||||||
|
|
||||||
# If static files don't exist collect them
|
# If static files don't exist collect them
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
python manage.py collectstatic --noinput --settings=pinry.settings.docker
|
python manage.py collect --noinput --settings=pinry.settings.docker
|
||||||
|
|
||||||
# If database doesn't exist yet create it
|
# If database doesn't exist yet create it
|
||||||
if [ ! -f /data/production.db ]
|
if [ ! -f /data/production.db ]
|
||||||
|
|||||||
Reference in New Issue
Block a user