correct sync config and script
authorymh <ymh.work@gmail.com>
Thu, 02 Aug 2012 09:26:15 +0200
changeset 66 20da47bd9408
parent 65 6f89290f50c9
child 70 a1476fa4c75b
correct sync config and script
sbin/sync/config.py.tmpl
sbin/sync/fabfile.py
--- a/sbin/sync/config.py.tmpl	Thu Aug 02 09:02:27 2012 +0200
+++ b/sbin/sync/config.py.tmpl	Thu Aug 02 09:26:15 2012 +0200
@@ -6,10 +6,10 @@
 
 env.base_export_path = "~/tmp"
 env.export_prefix = "idill"
-env.remote_web_path = "/iridata/iri-research/ldt/"
+env.remote_web_path = "/iridata/www/iri-research/labs/idill/"
 env.web_rsync_filters = [
     "+ core",
-    "- /doc/"
+    "- /doc/",
     "P .htpasswd",
     "P .htaccess",
     "P robots.txt",
--- a/sbin/sync/fabfile.py	Thu Aug 02 09:02:27 2012 +0200
+++ b/sbin/sync/fabfile.py	Thu Aug 02 09:26:15 2012 +0200
@@ -71,6 +71,5 @@
     print(green("sync web with version %s" % version))
     export_path = export_version(version)
     do_sync_web(version, export_path)
-    create_config(export_path)
     clean_export_folder(export_path)
     relaunch_server()