reload unicorn when code changes
This commit is contained in:
parent
b0346c8850
commit
e68d3b879d
2
run.sh
2
run.sh
|
@ -26,4 +26,4 @@ else
|
|||
python manage.py shell -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@example.com', 'password')"
|
||||
touch .second_run
|
||||
fi
|
||||
gunicorn network_inventory.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
||||
gunicorn network_inventory.wsgi:application --reload --bind 0.0.0.0:8000 --workers 3
|
||||
|
|
Loading…
Reference in New Issue