summaryrefslogtreecommitdiff
path: root/animism-align/cli/app/settings/app_cfg.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-16 17:03:07 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-16 17:03:07 +0100
commit92881093ae19e4d76193447c187028aee5cbe4c7 (patch)
tree8e3b4baa4ea790b5e9b30e2fed6ed4f1b871cc5c /animism-align/cli/app/settings/app_cfg.py
parent77489cf313dd47122b9be80f6d49caf513a9e03c (diff)
getting the viewer-only version of the site working. flask command to run test server
Diffstat (limited to 'animism-align/cli/app/settings/app_cfg.py')
-rw-r--r--animism-align/cli/app/settings/app_cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/animism-align/cli/app/settings/app_cfg.py b/animism-align/cli/app/settings/app_cfg.py
index 963e265..de5cb6e 100644
--- a/animism-align/cli/app/settings/app_cfg.py
+++ b/animism-align/cli/app/settings/app_cfg.py
@@ -35,6 +35,7 @@ CLICK_GROUPS = {
'site': 'commands/site',
'db': '',
'flask': '',
+ 'viewer': '',
}
@@ -63,6 +64,8 @@ if 'cli' in os.getcwd():
else:
DIR_STATIC = os.path.abspath('static')
+DIR_STATIC_SITE_VIEWER = join(DIR_DATA_STORE, 'exports/animism')
+
HASH_TREE_DEPTH = 3 # for sha256 subdirs
HASH_BRANCH_SIZE = 3 # for sha256 subdirs