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 |
|
1
|
8 |
env.repos = {'ldt' : "/Users/ymh/dev/workspace/platform", 'web' : "/Users/ymh/dev/workspace/platform_web" } |
0
|
9 |
env.base_export_path = "~/tmp" |
|
10 |
env.export_prefix = "platform" |
1
|
11 |
|
|
12 |
env.remote_path = { |
|
13 |
'web':"/iridata/www/ldt/", |
|
14 |
'src':"/Users/ymh/dev/tmp/testfab/src", |
|
15 |
'virtualenv':"/iridata/virtualenv/ldt", |
|
16 |
'ldt_base':"/tmp", |
|
17 |
'venv_export':"/iridata/users/iri/tmp", |
|
18 |
} |
|
19 |
|
0
|
20 |
env.platform_web_module = "ldtplatform" |
|
21 |
env.remote_baseline_venv = "/iridata/virtualenv/baseline2.7" |
1
|
22 |
|
|
23 |
env.rsync_filters = { |
|
24 |
'src' : [ |
|
25 |
"P .htpasswd", |
|
26 |
"P .htaccess", |
|
27 |
"P ldtplatform/config.py", |
|
28 |
"P ldtplatform/modwsgi.wsgi", |
|
29 |
], |
|
30 |
'web': [ |
|
31 |
"+ core", |
|
32 |
"P .htpasswd", |
|
33 |
"P .htaccess", |
|
34 |
"P robots.txt", |
|
35 |
"P env/***", |
|
36 |
"P log/***", |
|
37 |
"P index/***", |
|
38 |
"P static/media/***", |
|
39 |
"P crossdomain.xml", |
|
40 |
], |
|
41 |
'venv': [ |
|
42 |
"+ core", |
|
43 |
] |
|
44 |
} |
0
|
45 |
env.web_relaunch_cmd = "supervisorctl restart platform" |
|
46 |
|
|
47 |
env.base_url = "/" |
|
48 |
env.web_url = "http://ldt.iri.centrepompidou.fr" |
|
49 |
env.stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/" |
|
50 |
|
|
51 |
env.stream_src_prefix = "" |
|
52 |
env.ffmpeg_path = "/usr/bin/ffmpeg" |
|
53 |
|
|
54 |
env.db_engine = 'django.db.backends.postgresql_psycopg2' |
|
55 |
env.db_name = 'platform' |
|
56 |
env.db_user = 'iriuser' |
|
57 |
env.db_password = '' |
|
58 |
env.db_host = 'sql.iri.centrepompidou.fr' |
|
59 |
env.db_port = 5432 |
|
60 |
|
|
61 |
env.log_file = env.remote_web_path + '/log/log.txt' |
|
62 |
|
|
63 |
env.google_analytics_code = "" |
|
64 |
|
|
65 |
env.email_use_tls = True |
|
66 |
env.email_host = "" |
|
67 |
env.email_host_user = "" |
|
68 |
env.email_host_user = "" |
|
69 |
env.email_port = "" |
|
70 |
|
|
71 |
env.forbidden_stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/mp4:video/forbidden_stream.mp4?old_path=" |
|
72 |
|