]> git.parisson.com Git - timeside.git/commitdiff
uwsgi auto reload
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 4 Mar 2015 11:25:17 +0000 (12:25 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 4 Mar 2015 11:25:17 +0000 (12:25 +0100)
examples/deploy/start_app.sh
examples/sandbox/settings.py
examples/sandbox/wsgi.py

index 1b243db37b827b391fb8f4ca72ff524512e41b51..82124d07fc22b66e4aef997905f8d68cdb9aa6ae 100644 (file)
@@ -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
index 78c2e4d1208e005f7adbe37761a06cf3b84e450f..e2d8c70c11b7c6a6f40100f7517e7f5f4ae4a81e 100644 (file)
@@ -167,3 +167,4 @@ LOGGING = {
 
 REST_FRAMEWORK = {
 }
+
index 2be797550232d4cfc7641b1c0acb2521c04e41e3..0843f7c9ff73b0d63835dfbb46085c5a99ca0cf0 100644 (file)
@@ -28,4 +28,3 @@ matplotlib.use('Agg')
 # setting points here.
 import django.core.handlers.wsgi
 application = django.core.handlers.wsgi.WSGIHandler()
-