environment_sensors/run.sh

8 lines
253 B
Bash
Executable File

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