-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.py
35 lines (26 loc) · 953 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from config_studio_hub import *
DATA_ARCHIVE_ROOT = '/data/biothings_studio/datasources'
DATA_PLUGIN_FOLDER = '/data/biothings_studio/plugins'
DATA_UPLOAD_FOLDER = '/data/biothings_studio/dataupload'
DATA_SRC_SERVER = 'localhost'
DATA_SRC_PORT = 27017
DATA_SRC_DATABASE = 'biothings_src'
DATA_SRC_SERVER_USERNAME = ''
DATA_SRC_SERVER_PASSWORD = ''
DATA_TARGET_SERVER = 'localhost'
DATA_TARGET_PORT = 27017
DATA_TARGET_DATABASE = 'biothings'
DATA_TARGET_SERVER_USERNAME = ''
DATA_TARGET_SERVER_PASSWORD = ''
DATA_HUB_DB_DATABASE = DATA_SRC_DATABASE # keep _src db as before
DIFF_PATH = "/data/biothings_studio/diff"
HUB_DB_BACKEND = {
"module" : "biothings.utils.mongo",
"uri" : "mongodb://localhost:27017",
}
LOG_FOLDER = "/data/biothings_studio/logs"
logger = setup_default_log("hub", LOG_FOLDER)
RELEASE_PATH = "/data/biothings_studio/release"
CACHE_FOLDER = "/data/biothings_studio/cache"
RUN_DIR = '/data/run'
CONFIG_READONLY = False