sbin/sync/config.py.tmpl
changeset 16 e37a29d23c86
child 69 8a0df65c065c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbin/sync/config.py.tmpl	Wed Jun 06 23:00:42 2012 +0200
@@ -0,0 +1,29 @@
+from fabric.api import env
+
+env.hosts = ['iri@web.iri.centrepompidou.fr']
+env.base_export_path = "~/tmp"
+env.export_prefix = "platform"
+env.remote_web_path = "/iridata/www/ldt/"
+env.platform_web_module = "ldtplatform"
+env.remote_ldt_base_path = "/tmp"
+env.remote_virtualenv_path = "/iridata/virtualenv/platform"
+env.remote_venv_export_path = "/tmp" 
+env.remote_baseline_venv = "/iridata/virtualenv/baseline2.7"
+env.web_rsync_filters = [
+    "+ core",
+    "P .htpasswd",
+    "P .htaccess",
+    "P ldtplatform/.htaccess",
+    "P ldtplatform/config.py",
+    "P ldtplatform/modwsgi.wsgi",
+    "P robots.txt",
+    "P env/***",
+    "P log/***",
+    "P index/***",
+    "P static/media/***",
+    "P crossdomain.xml",
+]
+env.venv_rsync_filters = [
+    "+ core",
+]
+env.web_relaunch_cmd = "supervisorctl restart platform"