diff --git a/docker-entry.sh b/docker-entry.sh index b2514f1..e3459c6 100755 --- a/docker-entry.sh +++ b/docker-entry.sh @@ -10,8 +10,8 @@ fi export DJANGO_SETTINGS_MODULE=ietf_guides.settings.prod -/code/manage.py collectstatic -/code/manage.py migrate +/code/manage.py collectstatic --noinput +/code/manage.py migrate --noinput cp /code/nginx/default /etc/nginx/sites-enabled/default nginx diff --git a/post-deploy.sh b/post-deploy.sh deleted file mode 100755 index 80b1813..0000000 --- a/post-deploy.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -export DJANGO_SETTINGS_MODULE=ietf_guides.settings.prod - -sudo -E -u wwwrun ./manage.py migrate -sudo -E -u wwwrun ./manage.py collectstatic --noinput