sbin/sync/config.py.tmpl
author ymh <ymh.work@gmail.com>
Thu, 24 May 2012 15:46:38 +0200
changeset 635 a457b0fb4e06
parent 632 e85856bfd59b
child 668 b52724db32ab
permissions -rw-r--r--
Merge with 49e6b1148a7abf83b79ac21a392af284b607bbb4

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"