diff -r 9e64be35704f -r b52724db32ab sbin/sync/config.py.tmpl --- a/sbin/sync/config.py.tmpl Thu Jun 14 10:18:38 2012 +0200 +++ b/sbin/sync/config.py.tmpl Thu Jun 14 15:01:50 2012 +0200 @@ -1,6 +1,10 @@ from fabric.api import env env.hosts = ['iri@web.iri.centrepompidou.fr'] + +env.web_group = 'www-data' +env.folders = ['index', 'log', 'static/media'] + env.base_export_path = "~/tmp" env.export_prefix = "platform" env.remote_web_path = "/iridata/www/ldt/" @@ -27,3 +31,29 @@ "+ core", ] env.web_relaunch_cmd = "supervisorctl restart platform" + +env.base_url = "/ldtplatform/" +env.web_url = "http://ldt.iri.centrepompidou.fr" +env.stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/" + +env.stream_src_prefix = "" +env.ffmpeg_path = "" + +env.db_engine = 'django.db.backends.postgresql_psycopg2' +env.db_name = 'platform' +env.db_user = 'iriuser' +env.db_password = '' +env.db_host = 'sql.iri.centrepompidou.fr' +env.db_port = 5432 + +env.log_file = env.remote_web_path + '/log/log.txt' +env.index_path = env.remote_web_path + '/index/' + +env.google_analytics_code = "" + +env.email_use_tls = True +env.email_host = "" +env.email_host_user = "" +env.email_host_user = "" +env.email_port = "" +