aboutsummaryrefslogtreecommitdiff
path: root/etc/default_settings.py
diff options
context:
space:
mode:
authorPjotr Prins2020-04-27 17:14:37 -0500
committerPjotr Prins2020-04-27 17:14:37 -0500
commit13942f9229ff623ddde98ae9d328fc8492f210fa (patch)
tree70034917d552d4f8994d32f308522824f36d2ae6 /etc/default_settings.py
parente05b70e1a9aaea5e71d4f616ad86e5625a0cdb4c (diff)
parentcaa9966df61a9e4290d36af557adc3ede1a3674b (diff)
downloadgenenetwork2-13942f9229ff623ddde98ae9d328fc8492f210fa.tar.gz
Mergedgn-master
Diffstat (limited to 'etc/default_settings.py')
-rw-r--r--etc/default_settings.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index 176ee59c..f368237b 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -25,6 +25,10 @@ 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
@@ -51,13 +55,13 @@ SECRET_HMAC_CODE = '\x08\xdf\xfa\x93N\x80\xd9\\H@\\\x9f`\x98d^\xb4a;\xc6OM\x946a
GITHUB_CLIENT_ID = "UNKNOWN"
GITHUB_CLIENT_SECRET = "UNKNOWN"
-GITHUB_AUTH_URL = "UNKNOWN"
-GITHUB_API_URL = "UNKNOWN"
+GITHUB_AUTH_URL = "https://github.com/login/oauth/authorize"
+GITHUB_API_URL = "https://api.github.com/user"
ORCID_CLIENT_ID = "UNKNOWN"
ORCID_CLIENT_SECRET = "UNKNOWN"
-ORCID_AUTH_URL = "UNKNOWN"
-ORCID_TOKEN_URL = "UNKNOWN"
+ORCID_AUTH_URL = "https://orcid.org/oauth/authorize"
+ORCID_TOKEN_URL = "https://orcid.org/oauth/token"
ELASTICSEARCH_HOST = "localhost"
ELASTICSEARCH_PORT = '9200'