X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Fsettings.py;h=dce3d90c53608f876cf6b786604288513e96b972;hb=ab74b21a3c45abc940a2154e584a01089c910cbe;hp=c7b7dfb6670dd8cb0d63661e696155bcc536cebd;hpb=107c68a1251ead22948bfaf77e7ae3e2331ee27d;p=htsworkflow.git diff --git a/htsworkflow/settings.py b/htsworkflow/settings.py index c7b7dfb..dce3d90 100644 --- a/htsworkflow/settings.py +++ b/htsworkflow/settings.py @@ -22,13 +22,13 @@ SECRET_KEY = 'c=5&609$7)bm_u+3$2bi=ida$*a)c1(cp_0siua7uyww!1qfg_' DEFAULT_API_KEY = 'n7HsXGHIi0vp9j5u4TIRJyqAlXYc4wrH' # SECURITY WARNING: don't run with debug turned on in production! +# Override in settings_local DEBUG = True TEMPLATE_DEBUG = True ALLOWED_HOSTS = ['jumpgate.caltech.edu'] - # Application definition AUTHENTICATION_BACKENDS = ( 'htsworkflow.frontend.samples.auth_backend.HTSUserModelBackend', ) @@ -46,8 +46,8 @@ INSTALLED_APPS = ( 'htsworkflow.frontend.eland_config', 'htsworkflow.frontend.samples', 'htsworkflow.frontend.experiments', - 'htsworkflow.frontend.inventory', 'htsworkflow.frontend.bcmagic', + 'htsworkflow.frontend.inventory', 'htsworkflow.frontend.labels', ) @@ -67,7 +67,7 @@ TEMPLATE_DIRS = ( ROOT_URLCONF = 'htsworkflow.frontend.urls' -WSGI_APPLICATION = 'htsworkflow.wsgi.application' +WSGI_APPLICATION = 'wsgi.application' # Database # https://docs.djangoproject.com/en/1.6/ref/settings/#databases @@ -79,6 +79,8 @@ DATABASES = { } } +EMAIL_HOST = 'localhost' + # Internationalization # https://docs.djangoproject.com/en/1.6/topics/i18n/ @@ -92,16 +94,28 @@ USE_L10N = True USE_TZ = True +TIME_ZONE='America/Los_Angeles' # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.6/howto/static-files/ +STATICFILES_DIRS = ( + os.path.join(BASE_DIR, 'htsworkflow', 'frontend', 'static'), +) STATIC_URL = '/static/' ##### # Application specific settings +DEFAULT_PM = 5 + +# How often to recheck the result archive +RESCAN_DELAY=1 # Update this in settings_local to point to your flowcell result directory -RESULT_HOME_DIR = os.path.join(BASE_DIR, 'test', 'results') +RESULT_HOME_DIR = os.path.join(BASE_DIR, 'test', 'result', 'flowcells') + +# configure who is sending email and who should get BCCs of announcments +NOTIFICATION_SENDER = "noreply@example.com" +NOTIFICATION_BCC=[] try: # allow local customizations