summaryrefslogtreecommitdiff
path: root/megapixels/app/settings/app_cfg.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-12-15 21:43:04 +0100
committerJules Laplace <julescarbon@gmail.com>2018-12-15 21:43:04 +0100
commit50a35da0c14664bd3e1392254afec21ef3880440 (patch)
treeba8a1e506a8c9fc96b73f7107acee31f9e9859c1 /megapixels/app/settings/app_cfg.py
parente0b0b2f976c61225a178c7715caf2656a1f6741f (diff)
make builder a click script
Diffstat (limited to 'megapixels/app/settings/app_cfg.py')
-rw-r--r--megapixels/app/settings/app_cfg.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/megapixels/app/settings/app_cfg.py b/megapixels/app/settings/app_cfg.py
index 1d3fbc4c..9e03357b 100644
--- a/megapixels/app/settings/app_cfg.py
+++ b/megapixels/app/settings/app_cfg.py
@@ -70,7 +70,6 @@ load_dotenv(dotenv_path=DIR_DOTENV)
DIR_ASSETS = join(DIR_APP, 'assets')
FP_FONT = join(DIR_ASSETS, 'font')
-
# -----------------------------------------------------------------------------
# click chair settings
# -----------------------------------------------------------------------------
@@ -91,7 +90,6 @@ CKPT_ZERO_PADDING = 9
HASH_TREE_DEPTH = 3
HASH_BRANCH_SIZE = 3
-
DLIB_FACEREC_JITTERS = 5 # number of face recognition jitters
DLIB_FACEREC_PADDING = 0.25 # default dlib
@@ -120,9 +118,18 @@ reset: Clear all formatting (both foreground and background colors).
"""
LOGFILE_FORMAT = "%(log_color)s%(levelname)-8s%(reset)s %(cyan)s%(filename)s:%(lineno)s:%(bold_cyan)s%(funcName)s() %(reset)s%(message)s"
-
# -----------------------------------------------------------------------------
# S3 storage
# -----------------------------------------------------------------------------
S3_MEDIA_ROOT = 's3://megapixels/v1/media/'
S3_METADATA_ROOT = 's3://megapixels/v1/metadata/'
+
+# -----------------------------------------------------------------------------
+# Builder
+# -----------------------------------------------------------------------------
+
+S3_SITE_PATH = "v1/site"
+S3_DATASETS_PATH = "v1" # datasets is already in the filename
+DIR_SITE_PUBLIC = "../site/public"
+DIR_SITE_CONTENT = "../site/content"
+DIR_SITE_TEMPLATES = "../site/templates"