From 33e2e09d00881de9b07274bc52b58587e5135cab Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 5 Sep 2018 09:49:09 +0000 Subject: ELASTICSEARCH settings and fix runserver.py to run without gunicorn --- etc/default_settings.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'etc') 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 -- cgit v1.2.3