diff --git a/docker/scripts/bootstrap.sh b/docker/scripts/bootstrap.sh index 5cadc49..0378acb 100755 --- a/docker/scripts/bootstrap.sh +++ b/docker/scripts/bootstrap.sh @@ -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 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 "Your secret-key is(also saved/overwritten your docker's /data/production_secret_key.txt):" diff --git a/docker/scripts/start.sh b/docker/scripts/start.sh index f3f05fc..fc04774 100755 --- a/docker/scripts/start.sh +++ b/docker/scripts/start.sh @@ -14,7 +14,7 @@ bash ${PROJECT_ROOT}/docker/scripts/bootstrap.sh # If static files don't exist collect them 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 [ ! -f /data/production.db ]