Skip to content

Commit d19b48a

Browse files
committed
trivial procfile/release updates
1 parent 4bdb6f8 commit d19b48a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Procfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# See https://devcenter.heroku.com/articles/release-phase
1+
# https://devcenter.heroku.com/articles/procfile
2+
3+
# https://devcenter.heroku.com/articles/release-phase
24
release: ./bin/release_tasks
35

4-
# See https://devcenter.heroku.com/articles/python-gunicorn
6+
# https://devcenter.heroku.com/articles/python-gunicorn
57
web: gunicorn caselaw.wsgi --log-file -

bin/release_tasks

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python manage.py migrate
1+
python manage.py migrate --noinput
22
python manage.py shell -c "from django.contrib.auth.models import User; User.objects.filter(username='$DJANGO_SUPERUSER_USERNAME').exists() or User.objects.create_superuser('$DJANGO_SUPERUSER_USERNAME', '$DJANGO_SUPERUSER_EMAIL', '$DJANGO_SUPERUSER_PASSWORD')"

0 commit comments

Comments
 (0)