Mercurial > libervia-web
comparison libervia/server/constants.py @ 1257:1ec41ac1e7cf
server: seperation between production build dir and dev build dir:
LiberviaRootResource instances's `build_path` is the path where generated files are put
and served by the HTTP server, while `dev_buid_path` is used for temporary files/libraries
needed for the generation/compilation of files.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 May 2020 18:25:11 +0200 |
parents | 6d49fae517ba |
children | 334d044f2713 |
comparison
equal
deleted
inserted
replaced
1256:08cd652dea14 | 1257:1ec41ac1e7cf |
---|---|
34 CARDS_DIR = "games/cards/tarot" | 34 CARDS_DIR = "games/cards/tarot" |
35 PAGES_DIR = "pages" | 35 PAGES_DIR = "pages" |
36 TASKS_DIR = "tasks" | 36 TASKS_DIR = "tasks" |
37 LIBERVIA_CACHE = "libervia" | 37 LIBERVIA_CACHE = "libervia" |
38 SITE_NAME_DEFAULT = "default" | 38 SITE_NAME_DEFAULT = "default" |
39 # generated files will be accessible there | |
39 BUILD_DIR = "__b" | 40 BUILD_DIR = "__b" |
40 BUILD_DIR_DYN = "dyn" | 41 BUILD_DIR_DYN = "dyn" |
42 # directory where build files are served to the client | |
43 PRODUCTION_BUILD_DIR = "sites" | |
44 # directory used for files needed temporarily (e.g. for compiling other files) | |
45 DEV_BUILD_DIR = "dev_build" | |
41 | 46 |
42 TPL_RESOURCE = '_t' | 47 TPL_RESOURCE = '_t' |
43 | 48 |
44 ERRNUM_BRIDGE_ERRBACK = 0 # FIXME | 49 ERRNUM_BRIDGE_ERRBACK = 0 # FIXME |
45 ERRNUM_LIBERVIA = 0 # FIXME | 50 ERRNUM_LIBERVIA = 0 # FIXME |