#!/bin/sh
# options
-procs=4
-threads=4
+procs=2
+threads=2
# paths
root='/opt/'
python $manage collectstatic --noinput
# static files auto update
-watchmedo shell-command --patterns="*.js;*.css" --recursive \
- --command='python '$manage' collectstatic --noinput' $sandbox &
+#watchmedo shell-command --patterns="*.js;*.css" --recursive \
+# --command='python '$manage' collectstatic --noinput' $sandbox &
# app start
uwsgi --socket :8000 --wsgi-file $wsgi --chdir $sandbox --master \
--processes $procs --threads $threads \
- --touch-reload $wsgi \
- --limit-post=4294967296
+ --touch-reload $wsgi
+
+# --limit-post=4294967296
#python $manage runserver 0.0.0.0:8000
DEBUG = False
+ADMINS = (
+ ('Guillaume Pellerin', 'webmaster@parisson.com'),
+)
# Make these unique, and don't share it with anybody.
SECRET_KEY = "+3b01&_6_m@@yb4f06$s0zno8vkybh81nbuj_q(xzk+xeih1+s"
NEVERCACHE_KEY = "l11tr%#!uc@+%$51(&+%=&z6h9yrw42(jpcj$3_&6evtu6hl%z"