diff --git a/exchange/exchange/settings.py b/exchange/exchange/settings.py index c4991af..4b4ef40 100644 --- a/exchange/exchange/settings.py +++ b/exchange/exchange/settings.py @@ -22,9 +22,9 @@ SECRET_KEY = 'x(rl(kn3m5xgmmwh65x%!7*$103%#r+5ko1ojrn_a!dgj0scf7' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ["start2trade.herokuapp.com", "127.0.0.1"] # Application definition diff --git a/exchange/procfile b/exchange/procfile new file mode 100644 index 0000000..79d0b41 --- /dev/null +++ b/exchange/procfile @@ -0,0 +1 @@ +web: gunicorn exchange.wsgi --log-file - diff --git a/exchange/requirements.txt b/exchange/requirements.txt index 05496fe..0a299c3 100644 --- a/exchange/requirements.txt +++ b/exchange/requirements.txt @@ -9,17 +9,17 @@ django-compat==1.0.15 django-crispy-forms==1.9.2 djangorestframework==3.14.0 djongo==1.3.3 +gunicorn==20.1.0 idna==3.4 mongoengine==0.25.0 -pip==22.3.1 pymongo==3.12.3 python-dateutil==2.8.2 python-dotenv==0.21.1 pytz==2022.7 requests==2.28.1 schedule==1.1.0 -setuptools==58.1.0 six==1.16.0 sqlparse==0.2.4 tzdata==2022.7 -urllib3==1.26.13 \ No newline at end of file +urllib3==1.26.13 +whitenoise==6.3.0