summaryrefslogtreecommitdiff
path: root/animism-align/cli/app/settings
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/cli/app/settings')
-rw-r--r--animism-align/cli/app/settings/app_cfg.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/animism-align/cli/app/settings/app_cfg.py b/animism-align/cli/app/settings/app_cfg.py
index de5cb6e..dfd0154 100644
--- a/animism-align/cli/app/settings/app_cfg.py
+++ b/animism-align/cli/app/settings/app_cfg.py
@@ -38,7 +38,6 @@ CLICK_GROUPS = {
'viewer': '',
}
-
# -----------------------------------------------------------------------------
# File I/O
# -----------------------------------------------------------------------------
@@ -69,6 +68,11 @@ DIR_STATIC_SITE_VIEWER = join(DIR_DATA_STORE, 'exports/animism')
HASH_TREE_DEPTH = 3 # for sha256 subdirs
HASH_BRANCH_SIZE = 3 # for sha256 subdirs
+# -----------------------------------------------------------------------------
+# Database
+# -----------------------------------------------------------------------------
+
+USE_SQLITE = os.getenv("USE_SQLITE") == "True"
# -----------------------------------------------------------------------------
# S3 storage
@@ -91,7 +95,7 @@ HTTP_EXTERNAL_HOST = os.getenv('HTTP_EXTERNAL_HOST') or f"http://{SERVER_NAME}"
# -----------------------------------------------------------------------------
UCODE_OK = u"\u2714" # check ok
-UCODE_NOK = u'\u2718' # x no ok
+UCODE_NOK = u"\u2718" # x no ok
# -----------------------------------------------------------------------------
# Vimeo API