diff -r 06be5588329f -r 1cb672cb9f9d sbin/sync/config.py.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbin/sync/config.py.tmpl Wed Sep 19 10:31:06 2012 +0900 @@ -0,0 +1,59 @@ +from fabric.api import env + +env.hosts = ['@'] + +env.web_group = '' +env.folders = ['log', 'static/media'] + +env.base_export_path = "" +env.export_prefix = "hyperplateau" +env.remote_web_path = "" +env.platform_web_module = "hyperplateau" +env.remote_virtualenv_path = "" +env.remote_venv_export_path = "" +env.remote_baseline_venv = "" +env.web_rsync_filters = [ + "+ core", + "P .htpasswd", + "P .htaccess", + "P hyperplateau/.htaccess", + "P hyperplateau/config.py", + "P hyperplateau/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 hyperplateau" + +env.base_url = "/" +env.web_url = "http://" +env.stream_url = "" #optional + +env.stream_src_prefix = "" +env.ffmpeg_path = "" #optional + +env.db_engine = '' #cf django documentation +env.db_name = '' +env.db_user = '' +env.db_password = '' +env.db_host = '' +env.db_port = + +env.log_file = env.remote_web_path + '/log/log.txt' + +env.google_analytics_code = "" + +env.email_use_tls = True +env.email_host = "" +env.email_host_user = "" +env.email_host_user = "" +env.email_port = "" + +env.forbidden_stream_url = "rtmp://media.iri.centrepompidou.fr/ddc_player/mp4:video/forbidden_stream.mp4?old_path=" +