Phased out nginx in favor of running django under daphne with asgi.

Adjusted the docker image in favor of this, & fixed urls.py which was
missing the static request responder.
This commit is contained in:
th3r00t
2020-09-11 16:50:17 -04:00
parent 0391bb94a4
commit 68d453edc8
10 changed files with 80 additions and 161 deletions

8
configure vendored
View File

@@ -29,10 +29,10 @@ def set_secret(config=load_config()):
def init_django_database():
cmds = [
'python manage.py makemigrations',
'python manage.py makemigrations interface',
'python manage.py migrate',
'python manage.py migrate interface',
'python3 manage.py makemigrations',
'python3 manage.py makemigrations interface',
'python3 manage.py migrate',
'python3 manage.py migrate interface',
]
os.chdir("src")
for cmd in cmds: