aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-01-19 10:41:41 +0300
committerPjotr Prins2018-03-26 09:24:35 +0000
commit38c85f80090322b2dc9278812b7b1f011bb35390 (patch)
tree6bbe063a51187b07f4d1bdbf5650943cb1986d60
parent98de7bf9649115b67a13018454a2c3766be1fc12 (diff)
downloadgenenetwork2-38c85f80090322b2dc9278812b7b1f011bb35390.tar.gz
Add more configuration variables.
* Add configurations for elasticsearch and github.
-rw-r--r--wqflask/utility/tools.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 330344d1..ea7b8120 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -254,11 +254,15 @@ JS_GN_PATH = get_setting('JS_GN_PATH')
GITHUB_CLIENT_ID = get_setting('GITHUB_CLIENT_ID')
GITHUB_CLIENT_SECRET = get_setting('GITHUB_CLIENT_SECRET')
GITHUB_AUTH_URL = get_setting('GITHUB_AUTH_URL')
+GITHUB_API_URL = get_setting('GITHUB_API_URL')
ORCID_CLIENT_ID = get_setting('ORCID_CLIENT_ID')
ORCID_CLIENT_SECRET = get_setting('ORCID_CLIENT_SECRET')
ORCID_AUTH_URL = get_setting('ORCID_AUTH_URL')
ORCID_TOKEN_URL = get_setting('ORCID_TOKEN_URL')
+ELASTICSEARCH_HOST = get_setting('ELASTICSEARCH_HOST')
+ELASTICSEARCH_PORT = get_setting('ELASTICSEARCH_PORT')
+
PYLMM_COMMAND = app_set("PYLMM_COMMAND",pylmm_command())
GEMMA_COMMAND = app_set("GEMMA_COMMAND",gemma_command())
assert(GEMMA_COMMAND is not None)