0
|
1 |
from fabric.api import env |
|
2 |
|
|
3 |
env.hosts = ['iri@web.iri.centrepompidou.fr'] |
|
4 |
|
|
5 |
env.web_group = 'www-data' |
|
6 |
env.folders = ['log', 'static/media'] |
|
7 |
|
|
8 |
env.base_export_path = "~/tmp" |
|
9 |
env.export_prefix = "platform" |
|
10 |
env.remote_web_path = "/iridata/www/ldt/" |
|
11 |
env.platform_web_module = "ldtplatform" |
|
12 |
env.remote_ldt_base_path = "/tmp" |
|
13 |
env.remote_virtualenv_path = "/iridata/virtualenv/ldt" |
|
14 |
env.remote_venv_export_path = "/iridata/users/iri/tmp" |
|
15 |
env.remote_baseline_venv = "/iridata/virtualenv/baseline2.7" |
|
16 |
env.web_rsync_filters = [ |
|
17 |
"+ core", |
|
18 |
"P .htpasswd", |
|
19 |
"P .htaccess", |
|
20 |
"P ldtplatform/.htaccess", |
|
21 |
"P ldtplatform/config.py", |
|
22 |
"P ldtplatform/modwsgi.wsgi", |
|
23 |
"P robots.txt", |
|
24 |
"P env/***", |
|
25 |
"P log/***", |
|
26 |
"P index/***", |
|
27 |
"P static/media/***", |
|
28 |
"P crossdomain.xml", |
|
29 |
] |
|
30 |
env.venv_rsync_filters = [ |
|
31 |
"+ core", |
|
32 |
] |
|
33 |
env.web_relaunch_cmd = "supervisorctl restart platform" |
|
34 |
|
|
35 |
env.base_url = "/" |
|
36 |
env.web_url = "http://ldt.iri.centrepompidou.fr" |
|
37 |
env.stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/" |
|
38 |
|
|
39 |
env.stream_src_prefix = "" |
|
40 |
env.ffmpeg_path = "/usr/bin/ffmpeg" |
|
41 |
|
|
42 |
env.db_engine = 'django.db.backends.postgresql_psycopg2' |
|
43 |
env.db_name = 'platform' |
|
44 |
env.db_user = 'iriuser' |
|
45 |
env.db_password = '' |
|
46 |
env.db_host = 'sql.iri.centrepompidou.fr' |
|
47 |
env.db_port = 5432 |
|
48 |
|
|
49 |
env.log_file = env.remote_web_path + '/log/log.txt' |
|
50 |
|
|
51 |
env.google_analytics_code = "" |
|
52 |
|
|
53 |
env.email_use_tls = True |
|
54 |
env.email_host = "" |
|
55 |
env.email_host_user = "" |
|
56 |
env.email_host_user = "" |
|
57 |
env.email_port = "" |
|
58 |
|
|
59 |
env.forbidden_stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/mp4:video/forbidden_stream.mp4?old_path=" |
|
60 |
|