sbin/sync/config.py.tmpl
changeset 6 740d11ae9e28
parent 1 5778de052a1b
child 50 2123324cca5a
equal deleted inserted replaced
5:8de10138ce9e 6:740d11ae9e28
    42         "+ core",
    42         "+ core",
    43     ]
    43     ]
    44 }
    44 }
    45 env.web_relaunch_cmd = "supervisorctl restart platform"
    45 env.web_relaunch_cmd = "supervisorctl restart platform"
    46 
    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 
    47 
    51 env.stream_src_prefix = ""
    48 env.config = {
    52 env.ffmpeg_path = "/usr/bin/ffmpeg"
    49     'web': {
       
    50         'base_url': "/",
       
    51         'web_url': 'http://ldt.iri.centrepompidou.fr',
       
    52         'stream_url': "rtmp://media.iri.centrepompidou.fr/ddc_player/",
       
    53         'stream_src_prefix': "",
       
    54         'ffmpeg_path' : "/usr/bin/ffmpeg",
       
    55         'db_engine':'postgresql_psycopg2',
       
    56         'db_name':'platform',
       
    57         'db_user': 'iriuser',
       
    58         'db_password': '',
       
    59         'db_host': 'sql.iri.centrepompidou.fr',
       
    60         'db_port': 5432,
       
    61         'log_file' : env.remote_path['web'] + '/log/log.txt',
       
    62         'index_path' : 'env.remote_path['web'] + '/index/',
       
    63         'google_analytics_code' : "",
       
    64         'email_use_tls' : True,
       
    65         'email_host' : "",
       
    66         'email_host_user' : "",
       
    67         'email_host_user' : "",
       
    68         'email_port' : 0,
       
    69         'forbidden_stream_url' : "rtmp://media.iri.centrepompidou.fr/ddc_player/mp4:video/forbidden_stream.mp4?old_path="
       
    70     },
       
    71 }
    53 
    72 
    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