aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-01-19 10:41:41 +0300
committerMuriithi Frederick Muriuki2018-01-19 10:41:41 +0300
commit4ae020160a9ae9c399fe338c9415897b26425201 (patch)
treef23356bb39ee28968967b9a35eb4ac04a55b4e51
parent7282e0b47c1c6d12fc4c06a080af07c8e67ca75c (diff)
downloadgenenetwork2-4ae020160a9ae9c399fe338c9415897b26425201.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 310b4cea..df066e67 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())
PLINK_COMMAND = app_set("PLINK_COMMAND",plink_command())