mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
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:
8
configure
vendored
8
configure
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user