equal
deleted
inserted
replaced
|
1 from fabric.api import env |
|
2 |
|
3 env.hosts = ['iri@web.iri.centrepompidou.fr'] |
|
4 env.base_export_path = "~/tmp" |
|
5 env.export_prefix = "platform" |
|
6 env.remote_web_path = "/iridata/www/ldt/" |
|
7 env.platform_web_module = "ldtplatform" |
|
8 env.remote_ldt_base_path = "/tmp" |
|
9 env.remote_virtualenv_path = "/iridata/virtualenv/platform" |
|
10 env.remote_venv_export_path = "/tmp" |
|
11 env.remote_baseline_venv = "/iridata/virtualenv/baseline2.7" |
|
12 env.web_rsync_filters = [ |
|
13 "+ core", |
|
14 "P .htpasswd", |
|
15 "P .htaccess", |
|
16 "P ldtplatform/.htaccess", |
|
17 "P ldtplatform/config.py", |
|
18 "P ldtplatform/modwsgi.wsgi", |
|
19 "P robots.txt", |
|
20 "P env/***", |
|
21 "P log/***", |
|
22 "P index/***", |
|
23 "P static/media/***", |
|
24 "P crossdomain.xml", |
|
25 ] |
|
26 env.venv_rsync_filters = [ |
|
27 "+ core", |
|
28 ] |
|
29 env.web_relaunch_cmd = "supervisorctl restart platform" |