-
Notifications
You must be signed in to change notification settings - Fork 1
/
cfg_example.py
23 lines (16 loc) · 1.07 KB
/
cfg_example.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from multiprocessing import cpu_count
class DevConfig:
DEBUG = False # show interactive debugger?
TESTING = False # propagate exceptions?
SECRET_KEY = "dev" # change in production!
SESSION_COOKIE_SECURE = False # only send cookies via https? (disable for development server)
NR_CPUS = int(cpu_count() / 2) - 1 # number of CPUs to use when multiprocessing
DB_NAME = "spheroscope.sqlite" # path to database (relative to instance folder)
DB_USERNAME = "admin" # local database username
DB_PASSWORD = "0000" # local database password
REMOTE_NAME = "galois.informatik.uni-erlangen.de" # remote database URL
REMOTE_USERNAME = "USER" # username @ galois.informatik.uni-erlangen.de
REMOTE_PASSWORD = "PASSWORD" # password @ galois.informatik.uni-erlangen.de
REGISTRY_PATH = "/usr/local/share/cwb/registry/" # path to your CWB registry
CACHE_PATH = "/tmp/spheroscope-cache" # path for CQP dumps and cwb-ccc data
EMBEDDINGS = {} # path to embeddings (cwb_id:path)