Mercurial > treepkg
annotate contrib/sawmill/README @ 477:43bb1cc38fba
Added favicon derived from Kalle's saegeblatt.svg
(http://wald.intevation.org/plugins/scmsvn/viewcvs.php/*checkout*/trunk/Logo/saegeblatt.svg?rev=2&root=saegewerk)
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 14 Sep 2010 11:02:37 +0000 |
parents | dde2a0b68dc7 |
children | 93d66243bce7 |
rev | line source |
---|---|
452
333232953771
Initial check-in of sawmill a simple mod_python based
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 A simple mod_python based web application to render the |
333232953771
Initial check-in of sawmill a simple mod_python based
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 build reports of treepkg. |
453
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
3 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
4 Tested on Debian 5.0 Lenny |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
5 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
6 # apt-get install apache2 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
7 # apt-get install libapache2-mod-python |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
8 # apt-get install apt-get install python-lxml |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
9 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
10 Copy web dir into a place which is served by apache. |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
11 Create an .htaccess file in web: |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
12 ---8<--- |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
13 AddHandler mod_python .py |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
14 DirectoryIndex index.py |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
15 PythonHandler mod_python.publisher |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
16 --->8--- |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
17 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
18 Create sub directories in web/treepkgs for each |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
19 treepkg which reports should be served. Edit |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
20 the treepkg.xml file in these directories to |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
21 provide some extra information about the treepkgs. |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
22 See web/treepkgs/demo as an example. |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
23 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
24 Use rsync at the treepkg side to push the |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
25 reports to the corresponding treepkgs directory: |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
26 |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
27 $ rsync -avz \ |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
28 --exclude 'debian' --exclude 'src' \ |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
29 --exclude 'binary' --exclude '*checkout*' \ |
dde2a0b68dc7
Improved README of sawmill a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
452
diff
changeset
|
30 --exclude '*.html' $TREE_PKG/mill/tracks/ $DEST/tracks |