aboutsummaryrefslogtreecommitdiffstats
path: root/python/web_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/web_config.py')
-rw-r--r--python/web_config.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/python/web_config.py b/python/web_config.py
index 9df9c205..91e43e70 100644
--- a/python/web_config.py
+++ b/python/web_config.py
@@ -23,6 +23,12 @@ class Config(object):
ELASTICSEARCH_BACKEND = os.environ.get("ELASTICSEARCH_BACKEND", default="http://localhost:9200")
ELASTICSEARCH_INDEX = os.environ.get("ELASTICSEARCH_INDEX", default="fatcat")
+ # bogus values for dev/testing
+ SECRET_KEY = os.environ.get("SECRET_KEY", default="mQLO6DpyR4t91G1tl/LPMvb/5QFV9vIUDZah5PapTUSmP8jVIrvCRw")
+
+ GITLAB_CLIENT_ID = os.environ.get("GITLAB_CLIENT_ID", default="bogus")
+ GITLAB_CLIENT_SECRET = os.environ.get("GITLAB_CLIENT_SECRET", default="bogus")
+
try:
GIT_RELEASE = raven.fetch_git_sha('..')
except Exception as e:
@@ -38,7 +44,6 @@ class Config(object):
},
}
- # "Event more verbose" debug options. SECRET_KEY is bogus.
+ # "Even more verbose" debug options
#SQLALCHEMY_ECHO = True
- #SECRET_KEY = "kuhy0284hflskjhg01284"
#DEBUG = True