sbin/sync/config.py.tmpl
changeset 974 328aea4ee92b
parent 973 8251c6a02d6f
child 975 54262ea8aee4
--- a/sbin/sync/config.py.tmpl	Mon Nov 26 18:56:46 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-from fabric.api import env
-
-env.hosts = ['iri@web.iri.centrepompidou.fr']
-
-env.web_group = 'www-data'
-env.folders = ['log', 'static/media']
-
-env.base_export_path = "~/tmp"
-env.export_prefix = "platform"
-env.remote_web_path = "/iridata/www/ldt/"
-env.platform_web_module = "ldtplatform"
-env.remote_ldt_base_path = "/tmp"
-env.remote_virtualenv_path = "/iridata/virtualenv/ldt"
-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 ldtplatform/.htaccess",
-    "P ldtplatform/config.py",
-    "P ldtplatform/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 platform"
-
-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 = '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.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="
-