diff libervia/server/constants.py @ 1146:76d75423ef53

server: tasks manager first draft: A new task manager will check /tasks directory of website to scripts to execute before launching the site. This allows to generate docs, scripts, or do anything else useful. Generated files are put in in sat local dir, in cache, and are accessible from the website using the new "build_dir" variable.
author Goffi <goffi@goffi.org>
date Fri, 25 Jan 2019 08:58:41 +0100
parents 2af117bfe6cc
children 0f37b65fe7c2
line wrap: on
line diff
--- a/libervia/server/constants.py	Fri Jan 25 08:41:43 2019 +0100
+++ b/libervia/server/constants.py	Fri Jan 25 08:58:41 2019 +0100
@@ -33,6 +33,9 @@
     MEDIA_DIR = "media/"
     CARDS_DIR = "games/cards/tarot"
     PAGES_DIR = u"pages"
+    TASKS_DIR = u"tasks"
+    LIBERVIA_CACHE = u"libervia"
+    BUILD_DIR = u"__b"
 
     TPL_RESOURCE = u'_t'