Make it work on Heroku
Add gunicorn as requirements Change khana.settings to config.settings
This commit is contained in:
parent
54695787de
commit
046755d987
|
@ -11,6 +11,6 @@ import os
|
|||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "khana.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
|
||||
|
||||
application = get_wsgi_application()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE = khana.settings
|
||||
DJANGO_SETTINGS_MODULE = config.settings
|
||||
|
||||
python_files = tests.py test_*.py *_tests.py
|
||||
python_files = tests.py test_*.py *_tests.py
|
||||
|
|
|
@ -9,3 +9,5 @@ Markdown==3.3.4
|
|||
reportlab==3.5.67
|
||||
simplejson==3.17.2
|
||||
Sphinx==3.5.4
|
||||
|
||||
gunicorn
|
||||
|
|
Loading…
Reference in New Issue