Mercurial > treepkg
comparison demostaticweb.cfg @ 82:3b9f35a50abf
Make the defaults a bit more useful:
build_create: The createstaticweb.py script is in the bin subdirectory
cachedir: Use LOGNAME instead of USER because LOGNAME is automatically
set by cron
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Fri, 31 Aug 2007 17:04:27 +0000 |
parents | 9a602d8eaa60 |
children | 38aeaa34fa8c |
comparison
equal
deleted
inserted
replaced
81:2630a1c18816 | 82:3b9f35a50abf |
---|---|
13 build_host: localhost | 13 build_host: localhost |
14 | 14 |
15 # the program to run on build_host to create the static web-page. | 15 # the program to run on build_host to create the static web-page. |
16 # Currently publishstaticweb.py assumes that the default configuration | 16 # Currently publishstaticweb.py assumes that the default configuration |
17 # for that program works. | 17 # for that program works. |
18 build_create: ~/treepackager/createstaticweb.py | 18 build_create: ~/treepkg/bin/createstaticweb.py |
19 | 19 |
20 # the directory on build_host where the static web-site should be put. | 20 # the directory on build_host where the static web-site should be put. |
21 # This value is used as the parameter to the build_create command on | 21 # This value is used as the parameter to the build_create command on |
22 # build_host. | 22 # build_host. |
23 build_dir: /tmp/treepkg-web | 23 build_dir: /tmp/treepkg-web |
37 # contents. The value is passed through the python functions | 37 # contents. The value is passed through the python functions |
38 # os.path.expanduser and os.path.expandvars, so references to home | 38 # os.path.expanduser and os.path.expandvars, so references to home |
39 # directories of the form ~ or ~user at the beginning of the value and | 39 # directories of the form ~ or ~user at the beginning of the value and |
40 # environment variable references of the form $VAR or ${VAR} are | 40 # environment variable references of the form $VAR or ${VAR} are |
41 # expanded. | 41 # expanded. |
42 cachedir: /tmp/${USER}/treepkg-status-cache | 42 cachedir: /tmp/${LOGNAME}/treepkg-status-cache |