environment_sensors/run.sh

5 lines
161 B
Bash
Executable File

export DJANGO_SETTINGS_MODULE=sensors.settings.production
./manage.py migrate
./collector.sh &
gunicorn sensors.wsgi:application --bind 0.0.0.0:8000 --workers 4