summaryrefslogtreecommitdiff
path: root/cli/app/settings/app_cfg.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-16 16:54:28 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-16 16:54:28 +0100
commit1cfe96ca6ef5c54eadd986c951dade0f56d72440 (patch)
tree02d34b15a24afa43c6edf7b0011d56bc2c2c49c4 /cli/app/settings/app_cfg.py
parenta9d86650f40a82a64d1fd8e0525c26422d314d3a (diff)
migrating to mysql
Diffstat (limited to 'cli/app/settings/app_cfg.py')
-rw-r--r--cli/app/settings/app_cfg.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/app/settings/app_cfg.py b/cli/app/settings/app_cfg.py
index 3865abd..af6cf89 100644
--- a/cli/app/settings/app_cfg.py
+++ b/cli/app/settings/app_cfg.py
@@ -33,6 +33,7 @@ load_dotenv(dotenv_path=fp_env)
CLICK_GROUPS = {
# 'process': 'commands/process',
'site': 'commands/site',
+ 'admin': 'commands/admin',
'db': '',
'flask': '',
}
@@ -65,6 +66,11 @@ HASH_BRANCH_SIZE = 3 # for sha256 subdirs
DIR_PUBLIC_EXPORTS = os.getenv('DIR_PUBLIC_EXPORTS') or DIR_EXPORTS
+# -----------------------------------------------------------------------------
+# Database
+# -----------------------------------------------------------------------------
+
+USE_SQLITE = os.getenv("USE_SQLITE") == "True"
# -----------------------------------------------------------------------------
# S3 storage