diff -r 9e29d68d48f1 -r fb450f78bfd1 sbin/sync/config.py.tmpl --- a/sbin/sync/config.py.tmpl Fri Aug 24 17:44:08 2012 +0200 +++ b/sbin/sync/config.py.tmpl Thu Aug 30 01:15:16 2012 +0200 @@ -1,18 +1,17 @@ from fabric.api import env -env.hosts = ['iri@web.iri.centrepompidou.fr'] +env.hosts = ['@'] -env.web_group = 'www-data' +env.web_group = '' env.folders = ['index', 'log', 'static/media'] -env.base_export_path = "~/tmp" +env.base_export_path = "" env.export_prefix = "theend" -env.remote_web_path = "/iridata/www/theend/" +env.remote_web_path = "" env.platform_web_module = "theend" -env.remote_ldt_base_path = "/tmp" -env.remote_virtualenv_path = "/iridata/virtualenv/theend" -env.remote_venv_export_path = "/iridata/users/iri/tmp" -env.remote_baseline_venv = "/iridata/virtualenv/baseline2.7" +env.remote_virtualenv_path = "" +env.remote_venv_export_path = "" +env.remote_baseline_venv = "" env.web_rsync_filters = [ "+ core", "P .htpasswd", @@ -33,18 +32,18 @@ env.web_relaunch_cmd = "supervisorctl restart theend" env.base_url = "/" -env.web_url = "http://ldt.iri.centrepompidou.fr" -env.stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/" +env.web_url = "http://" +env.stream_url = "" #optional env.stream_src_prefix = "" -env.ffmpeg_path = "/usr/bin/ffmpeg" +env.ffmpeg_path = "" #optional -env.db_engine = 'django.db.backends.postgresql_psycopg2' -env.db_name = 'theend' -env.db_user = 'iriuser' +env.db_engine = '' #cf django documentation +env.db_name = '' +env.db_user = '' env.db_password = '' -env.db_host = 'sql.iri.centrepompidou.fr' -env.db_port = 5432 +env.db_host = '' +env.db_port = env.log_file = env.remote_web_path + '/log/log.txt' env.index_path = env.remote_web_path + '/index/'