sbin/sync/config.py.tmpl
author ymh <ymh.work@gmail.com>
Fri, 25 May 2012 16:40:26 +0200
changeset 643 87aa076dabd6
parent 632 e85856bfd59b
child 668 b52724db32ab
permissions -rw-r--r--
Added tag V01.09 for changeset b419e891b0bd

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"