replace the Django runserver command with gunicorn
I would like to test how this performs and if it works for development. Would be nice because this way I can have a setup which is closer to what I run in produciton than with Django runserver.
This commit is contained in:
parent
accc02d8d1
commit
3bb63bc44d
|
@ -27,4 +27,4 @@ else
|
|||
python manage.py loaddata network_inventory.yaml
|
||||
touch .second_run
|
||||
fi
|
||||
python manage.py runserver 0.0.0.0:8000
|
||||
gunicorn network_inventory.wsgi:application --reload --bind 0.0.0.0:8000 --workers 3
|
||||
|
|
Loading…
Reference in New Issue