--- a/sbin/sync/sync_regardssignes Fri Feb 01 17:07:35 2013 +0100
+++ b/sbin/sync/sync_regardssignes Fri Feb 01 17:47:24 2013 +0100
@@ -10,7 +10,7 @@
#text2unix ~/tmp/regardssignes_V$1/web
if [ -d ~/tmp/regardssignes_V$1/web ]; then
- cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/regardssignes_V$1/web/ web.iri.centrepompidou.fr:/iridata/www/amateur/atelier/
+ cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/regardssignes_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/amateur/atelier/
+ core
P .htpasswd
P .htaccess
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/regardssignes/django_wsgi.py Fri Feb 01 17:47:24 2013 +0100
@@ -0,0 +1,11 @@
+import os
+
+os.environ['DJANGO_SETTINGS_MODULE'] = 'regardssignes.settings'
+
+import django.core.handlers.wsgi
+
+application = django.core.handlers.wsgi.WSGIHandler()
+
+if os.environ.get('PYDEV_DEBUG', "False").lower() in ["true", "1", "t"]:
+ import pydevd #@UnresolvedImport
+ pydevd.settrace(suspend=False)