From 3bb63bc44d1036310029fdfc92d73b6ad9e416e5 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 28 Jun 2020 16:48:23 +0200 Subject: [PATCH] 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. --- development.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development.sh b/development.sh index 50816f1..b88aba0 100755 --- a/development.sh +++ b/development.sh @@ -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