sbin/sync/config.py.tmpl
author cavaliet
Wed, 30 May 2012 13:08:16 +0200
changeset 646 97f5db87d71c
parent 632 e85856bfd59b
child 668 b52724db32ab
permissions -rw-r--r--
Enhance pagination with public project and quick search.

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"