diff options
author | Pjotr Prins | 2018-09-05 09:49:09 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-05 09:49:09 +0000 |
commit | 33e2e09d00881de9b07274bc52b58587e5135cab (patch) | |
tree | 86492a323eece8a67cc85156a72505199b444886 /etc | |
parent | b3c2253a99ff9495a0132f466df825340ddf367c (diff) | |
download | genenetwork2-33e2e09d00881de9b07274bc52b58587e5135cab.tar.gz |
ELASTICSEARCH settings and fix runserver.py to run without gunicorn
Diffstat (limited to 'etc')
-rw-r--r-- | etc/default_settings.py | 10 |
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 |