diff -r e27a08b0a037 -r 9e29d68d48f1 sbin/sync/config.py.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbin/sync/config.py.tmpl Fri Aug 24 17:44:08 2012 +0200 @@ -0,0 +1,59 @@ +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 = "theend" +env.remote_web_path = "/iridata/www/theend/" +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.web_rsync_filters = [ + "+ core", + "P .htpasswd", + "P .htaccess", + "P theend/.htaccess", + "P theend/config.py", + "P theend/modwsgi.wsgi", + "P robots.txt", + "P env/***", + "P log/***", + "P index/***", + "P static/media/***", + "P crossdomain.xml", +] +env.venv_rsync_filters = [ + "+ core", +] +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.stream_src_prefix = "" +env.ffmpeg_path = "/usr/bin/ffmpeg" + +env.db_engine = 'django.db.backends.postgresql_psycopg2' +env.db_name = 'theend' +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 = "" +