comparison contrib/sawmill/README @ 453:dde2a0b68dc7

Improved README of sawmill a bit.
author Sascha Teichmann <teichmann@intevation.de>
date Fri, 20 Aug 2010 16:27:31 +0000
parents 333232953771
children 93d66243bce7
comparison
equal deleted inserted replaced
452:333232953771 453:dde2a0b68dc7
1 A simple mod_python based web application to render the 1 A simple mod_python based web application to render the
2 build reports of treepkg. 2 build reports of treepkg.
3
4 Tested on Debian 5.0 Lenny
5
6 # apt-get install apache2
7 # apt-get install libapache2-mod-python
8 # apt-get install apt-get install python-lxml
9
10 Copy web dir into a place which is served by apache.
11 Create an .htaccess file in web:
12 ---8<---
13 AddHandler mod_python .py
14 DirectoryIndex index.py
15 PythonHandler mod_python.publisher
16 --->8---
17
18 Create sub directories in web/treepkgs for each
19 treepkg which reports should be served. Edit
20 the treepkg.xml file in these directories to
21 provide some extra information about the treepkgs.
22 See web/treepkgs/demo as an example.
23
24 Use rsync at the treepkg side to push the
25 reports to the corresponding treepkgs directory:
26
27 $ rsync -avz \
28 --exclude 'debian' --exclude 'src' \
29 --exclude 'binary' --exclude '*checkout*' \
30 --exclude '*.html' $TREE_PKG/mill/tracks/ $DEST/tracks
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)