sbin/sync/config.py.tmpl
changeset 6 9e29d68d48f1
child 7 fb450f78bfd1
equal deleted inserted replaced
5:e27a08b0a037 6:9e29d68d48f1
       
     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 = ['index', 'log', 'static/media']
       
     7 
       
     8 env.base_export_path = "~/tmp"
       
     9 env.export_prefix = "theend"
       
    10 env.remote_web_path = "/iridata/www/theend/"
       
    11 env.platform_web_module = "theend"
       
    12 env.remote_ldt_base_path = "/tmp"
       
    13 env.remote_virtualenv_path = "/iridata/virtualenv/theend"
       
    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 theend/.htaccess",
       
    21     "P theend/config.py",
       
    22     "P theend/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 theend"
       
    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 = 'theend'
       
    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 env.index_path = env.remote_web_path + '/index/'
       
    51 
       
    52 env.google_analytics_code = ""
       
    53 
       
    54 env.email_use_tls = True
       
    55 env.email_host = ""
       
    56 env.email_host_user = ""
       
    57 env.email_host_user = ""
       
    58 env.email_port = ""
       
    59