Mercurial > treepkg
comparison demostaticweb.cfg @ 68:57a0b747ea3e
add publishstaticweb.py and demo config file
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 12 Apr 2007 20:05:18 +0200 |
parents | |
children | 7c55fb368d0b |
comparison
equal
deleted
inserted
replaced
67:517253fa987f | 68:57a0b747ea3e |
---|---|
1 # Demo config file for publishstaticweb.py. The default config file | |
2 # used by publishstaticweb.py is staticweb.cfg, so to use this file as | |
3 # the basis for your configuration, copy or rename this file and adapt | |
4 # it to your needs. | |
5 | |
6 [staticweb] | |
7 # Username and host on which the treepackager runs. publishstaticweb.py | |
8 # has to be able to connect to that host as the builduser via ssh | |
9 # without knowning the password. This is best achieved with the | |
10 # ssh-agent. Also, publishstaticweb.py uses rsync to copy files from | |
11 # build_host to the local host. | |
12 build_user: builder | |
13 build_host: localhost | |
14 | |
15 # the program to run on build_host to create the static web-page. | |
16 # Currently publishstaticweb.py assumes that the default configuration | |
17 # for that program works. | |
18 build_create: ~/treepackager/createstaticweb.py | |
19 | |
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 | |
22 # build_host. | |
23 build_dir: /tmp/treepkg-web | |
24 | |
25 # Username and host on which to publish the static pages. | |
26 # publishstaticweb.py uses rsync to copy the files from the local cache | |
27 # to the publish_host. | |
28 publish_user: builder | |
29 publish_host: localhost | |
30 | |
31 # the directory on the publish_host where the web-site resides. It's | |
32 # the directory where the index.html file will be found. The script may | |
33 # delete files under that directory. | |
34 publish_dir: /tmp/treepkg-status | |
35 | |
36 # local cache directory. publishstaticweb.py may delete it and its | |
37 # contents. | |
38 cachedir: /tmp/treepkg-status |