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.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/python/web_config.py b/python/web_config.py
new file mode 100644
index 00000000..c213e59f
--- /dev/null
+++ b/python/web_config.py
@@ -0,0 +1,17 @@
+
+import os
+import subprocess
+
+basedir = os.path.abspath(os.path.dirname(__file__))
+
+class Config(object):
+ GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip()
+ # This is, effectively, the QA/PROD flag
+ FATCAT_DOMAIN = "qa.fatcat.wiki"
+ ELASTIC_BACKEND = "https://search.fatcat.wiki"
+ ELASTIC_INDEX = "fatcat"
+
+ # "Event more verbose" debug options. SECRET_KEY is bogus.
+ #SQLALCHEMY_ECHO = True
+ #SECRET_KEY = "kuhy0284hflskjhg01284"
+ #DEBUG = True