-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Felix Sargent
committed
Feb 3, 2024
1 parent
9b4ebfe
commit b0778cc
Showing
4 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# Exit script in case of error | ||
set -e | ||
|
||
# Run Django migrations | ||
echo "Running migrations" | ||
python manage.py migrate --noinput | ||
python manage.py collectstatic --noinput | ||
|
||
# Start Gunicorn server | ||
echo "Starting server" | ||
exec gunicorn "approval_polls.wsgi:application" "-b 0.0.0.0:8000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
asgiref==3.7.2 ; python_version >= "3.11" and python_version < "4.0" | ||
django-environ==0.11.2 ; python_version >= "3.11" and python_version < "4" | ||
django-extensions==3.2.3 ; python_version >= "3.11" and python_version < "4.0" | ||
django-ipware==6.0.3 ; python_version >= "3.11" and python_version < "4.0" | ||
django-registration-redux==2.13 ; python_version >= "3.11" and python_version < "4.0" | ||
django-sendgrid-v5==1.2.3 ; python_version >= "3.11" and python_version < "4.0" | ||
django-structlog==7.1.0 ; python_version >= "3.11" and python_version < "4.0" | ||
django-upgrade==1.15.0 ; python_version >= "3.11" and python_version < "4.0" | ||
django==5.0.1 ; python_version >= "3.11" and python_version < "4.0" | ||
djangoajax==3.3 ; python_version >= "3.11" and python_version < "4.0" | ||
gunicorn==21.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0" | ||
python-http-client==3.3.7 ; python_version >= "3.11" and python_version < "4.0" | ||
python-ipware==2.0.1 ; python_version >= "3.11" and python_version < "4.0" | ||
pytz==2023.4 ; python_version >= "3.11" and python_version < "4.0" | ||
sendgrid==6.11.0 ; python_version >= "3.11" and python_version < "4.0" | ||
sqlparse==0.4.4 ; python_version >= "3.11" and python_version < "4.0" | ||
starkbank-ecdsa==2.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
structlog==24.1.0 ; python_version >= "3.11" and python_version < "4.0" | ||
tokenize-rt==5.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
tzdata==2023.4 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32" | ||
whitenoise==6.6.0 ; python_version >= "3.11" and python_version < "4.0" |