From: Guillaume Pellerin Date: Wed, 4 Mar 2015 11:25:17 +0000 (+0100) Subject: uwsgi auto reload X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0d2f11365423b2bec7adca0ba2893a96745f3751;p=timeside.git uwsgi auto reload --- diff --git a/examples/deploy/start_app.sh b/examples/deploy/start_app.sh index 1b243db..82124d0 100644 --- a/examples/deploy/start_app.sh +++ b/examples/deploy/start_app.sh @@ -2,4 +2,4 @@ python /opt/TimeSide/examples/sandbox/manage.py syncdb --noinput python /opt/TimeSide/examples/sandbox/manage.py migrate --noinput python /opt/TimeSide/examples/sandbox/manage.py collectstatic --noinput -uwsgi --socket :8000 --wsgi-file /opt/TimeSide/examples/sandbox/wsgi.py --chdir /opt/TimeSide/examples/sandbox/ --master --processes 4 --threads 2 \ No newline at end of file +uwsgi --socket :8000 --wsgi-file /opt/TimeSide/examples/sandbox/wsgi.py --chdir /opt/TimeSide/examples/sandbox/ --master --processes 4 --threads 2 --py-autoreload 3 \ No newline at end of file diff --git a/examples/sandbox/settings.py b/examples/sandbox/settings.py index 78c2e4d..e2d8c70 100644 --- a/examples/sandbox/settings.py +++ b/examples/sandbox/settings.py @@ -167,3 +167,4 @@ LOGGING = { REST_FRAMEWORK = { } + diff --git a/examples/sandbox/wsgi.py b/examples/sandbox/wsgi.py index 2be7975..0843f7c 100644 --- a/examples/sandbox/wsgi.py +++ b/examples/sandbox/wsgi.py @@ -28,4 +28,3 @@ matplotlib.use('Agg') # setting points here. import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() -