aboutsummaryrefslogtreecommitdiff
path: root/etc/default_settings.py
diff options
context:
space:
mode:
authorPjotr Prins2018-09-05 09:49:09 +0000
committerPjotr Prins2018-09-05 09:49:09 +0000
commit33e2e09d00881de9b07274bc52b58587e5135cab (patch)
tree86492a323eece8a67cc85156a72505199b444886 /etc/default_settings.py
parentb3c2253a99ff9495a0132f466df825340ddf367c (diff)
downloadgenenetwork2-33e2e09d00881de9b07274bc52b58587e5135cab.tar.gz
ELASTICSEARCH settings and fix runserver.py to run without gunicorn
Diffstat (limited to 'etc/default_settings.py')
-rw-r--r--etc/default_settings.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index 3e54ad1f..85eab2c6 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -25,9 +25,17 @@ import os
import sys
GN_VERSION = open("../etc/VERSION","r").read()
+GN_SERVER_URL = "http://localhost:8880/" # REST API server
+
+# ---- MySQL
+
SQL_URI = "mysql://gn2:mysql_password@localhost/db_webqtl_s"
SQL_ALCHEMY_POOL_RECYCLE = 3600
-GN_SERVER_URL = "http://localhost:8880/" # REST API server
+
+# ---- Elastic search
+
+ELASTICSEARCH_HOST = "localhost"
+ELASTICSEARCH_PORT = 9200
# ---- Flask configuration (see website)
TRAP_BAD_REQUEST_ERRORS = True