diff options
author | BonfaceKilz | 2021-03-03 10:59:32 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-03-08 21:09:58 +0300 |
commit | b7a57dc5a97403906ee43e2fecac641611cf5ab8 (patch) | |
tree | b7da01ae33f984f571dad31ed5b1e31ce4b920b3 /gn3/settings.py | |
parent | 9dff9888f81b7eec0e698466518ce4cb55b8bd8c (diff) | |
download | genenetwork3-b7a57dc5a97403906ee43e2fecac641611cf5ab8.tar.gz |
Replace APP_DEFAULTS dict with actual conf params
Diffstat (limited to 'gn3/settings.py')
-rw-r--r-- | gn3/settings.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gn3/settings.py b/gn3/settings.py index ddff766..f5988bb 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -3,11 +3,10 @@ import tempfile import os -APP_DEFAULTS = { - "BCRYPT_SALT": "$2b$12$mxLvu9XRLlIaaSeDxt8Sle", # Change this! - "GEMMA_WRAPPER_CMD": os.environ.get("GEMMA_WRAPPER", "gemma-wrapper"), - "TMPDIR": os.environ.get("TMPDIR", tempfile.gettempdir()), - "GENODIR": "", - "REDIS_URI": "redis://localhost:6379/0", - "REDIS_JOB_QUEUE": "GN3::job-queue" -} +BCRYPT_SALT = "$2b$12$mxLvu9XRLlIaaSeDxt8Sle" # Change this! +DATA_DIR = "" +GEMMA_WRAPPER_CMD = os.environ.get("GEMMA_WRAPPER", "gemma-wrapper") +GENODIR = "" +REDIS_URI = "redis://localhost:6379/0" +REDIS_JOB_QUEUE = "GN3::job-queue" +TMPDIR = os.environ.get("TMPDIR", tempfile.gettempdir()) |