add migration scripts
This commit is contained in:
parent
ada5d8e25a
commit
433a177e0c
7
run.sh
7
run.sh
|
@ -1,2 +1,7 @@
|
|||
nohub gunicorn sensors.wsgi:application --bind 0.0.0.0:80 --workers 3
|
||||
export DJANGO_SETTINGS_MODULE=sensors.settings.production
|
||||
export DJANGO_DEBUG=False
|
||||
export DJANGO_SECRET_KEY=foo
|
||||
./manage.py makemigrations
|
||||
./manage.py migrate
|
||||
nohub gunicorn sensors.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
||||
nohub ./collector.sh
|
||||
|
|
Loading…
Reference in New Issue