From 92881093ae19e4d76193447c187028aee5cbe4c7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 16 Nov 2020 17:03:07 +0100 Subject: getting the viewer-only version of the site working. flask command to run test server --- animism-align/cli/app/settings/app_cfg.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'animism-align/cli/app/settings/app_cfg.py') 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 -- cgit v1.2.3-70-g09d2