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