sbin/sync/config.py.tmpl
changeset 1 5778de052a1b
parent 0 87104b7cb3d6
child 6 740d11ae9e28
equal deleted inserted replaced
0:87104b7cb3d6 1:5778de052a1b
     3 env.hosts = ['iri@web.iri.centrepompidou.fr']
     3 env.hosts = ['iri@web.iri.centrepompidou.fr']
     4 
     4 
     5 env.web_group = 'www-data'
     5 env.web_group = 'www-data'
     6 env.folders = ['log', 'static/media']
     6 env.folders = ['log', 'static/media']
     7 
     7 
       
     8 env.repos = {'ldt' : "/Users/ymh/dev/workspace/platform", 'web' :  "/Users/ymh/dev/workspace/platform_web" }
     8 env.base_export_path = "~/tmp"
     9 env.base_export_path = "~/tmp"
     9 env.export_prefix = "platform"
    10 env.export_prefix = "platform"
    10 env.remote_web_path = "/iridata/www/ldt/"
    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 
    11 env.platform_web_module = "ldtplatform"
    20 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"
    21 env.remote_baseline_venv = "/iridata/virtualenv/baseline2.7"
    16 env.web_rsync_filters = [
    22 
    17     "+ core",
    23 env.rsync_filters = {
    18     "P .htpasswd",
    24     'src' : [
    19     "P .htaccess",
    25         "P .htpasswd",
    20     "P ldtplatform/.htaccess",
    26         "P .htaccess",
    21     "P ldtplatform/config.py",
    27         "P ldtplatform/config.py",
    22     "P ldtplatform/modwsgi.wsgi",
    28         "P ldtplatform/modwsgi.wsgi",
    23     "P robots.txt",
    29     ],
    24     "P env/***",
    30     'web': [
    25     "P log/***",
    31         "+ core",
    26     "P index/***",
    32         "P .htpasswd",
    27     "P static/media/***",
    33         "P .htaccess",
    28     "P crossdomain.xml",
    34         "P robots.txt",
    29 ]
    35         "P env/***",
    30 env.venv_rsync_filters = [
    36         "P log/***",
    31     "+ core",
    37         "P index/***",
    32 ]
    38         "P static/media/***",
       
    39         "P crossdomain.xml",
       
    40     ],
       
    41     'venv': [
       
    42         "+ core",
       
    43     ]
       
    44 }
    33 env.web_relaunch_cmd = "supervisorctl restart platform"
    45 env.web_relaunch_cmd = "supervisorctl restart platform"
    34 
    46 
    35 env.base_url = "/"
    47 env.base_url = "/"
    36 env.web_url = "http://ldt.iri.centrepompidou.fr"
    48 env.web_url = "http://ldt.iri.centrepompidou.fr"
    37 env.stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/"
    49 env.stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/"