diff --git a/settings/__init__.py b/settings/__init__.py index cd8199ef53f0b8757be74d1c414cb4e627ec0b26..0fcaf82e26ad5e2d845764e94a897f890b3fd582 100644 --- a/settings/__init__.py +++ b/settings/__init__.py @@ -25,6 +25,10 @@ configs = { '/home/gracedb/gracedb': 'production', '/home/gracedb/graceproj': 'production', + + '/home/branson/gracedbdev': 'branson', + '/home/branson/gracedbdev/gracedb': 'branson', + } diff --git a/settings/branson.py b/settings/branson.py new file mode 100644 index 0000000000000000000000000000000000000000..dbe5521223275f9e62753a6995ad393c5f7aced7 --- /dev/null +++ b/settings/branson.py @@ -0,0 +1,54 @@ + +CONFIG_NAME = "Branson" + +DEBUG = True +TEMPLATE_DEBUG = DEBUG + +DATABASES = { + 'default' : { + 'NAME' : 'branson', + 'ENGINE' : 'django.db.backends.mysql', + 'USER' : 'gracedb', + 'PASSWORD' : 'thinglet', + } +} + + +ALERT_EMAIL_FROM = "Dev Alert <root@moe.phys.uwm.edu>" +ALERT_EMAIL_TO = [ + "Branson Stephens <branson@gravity.phys.uwm.edu>", + ] +ALERT_EMAIL_BCC = ["branson@gravity.phys.uwm.edu"] + +ALERT_TEST_EMAIL_FROM = "Dev Test Alert <root@moe.phys.uwm.edu>" +ALERT_TEST_EMAIL_TO = [ + "Branson Stephens <branson@gravity.phys.uwm.edu>", + ] + +# Don't sent out non-test XMPP alerts on dev box! +XMPP_ALERT_CHANNELS = [ + 'test_omega', + 'test_mbtaonline', + 'test_cwb', + 'test_lowmass', + ] + +# SkyAlert +SKYALERT_IVORN_PATTERN = "ivo://ligo.org/gracedb#%s-dev" + +# Latency histograms. Where they go and max latency to bin. +LATENCY_REPORT_DEST_DIR = "/home/branson/data/latency" +LATENCY_REPORT_WEB_PAGE_FILE_PATH = LATENCY_REPORT_DEST_DIR + "/latency.inc" + +# Uptime reporting +UPTIME_REPORT_DIR = "/homebransonbmoe/data/uptime" + + +SITE_ID = 4 + +TEMPLATE_DIRS = ( + # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". + # Always use forward slashes, even on Windows. + # Don't forget to use absolute paths, not relative paths. + "/homebransonbmoe/gracedb/templates", +)