comparison README @ 70:4b537aadc5ce

add README section for the static web-page config
author Bernhard Herzog <bh@intevation.de>
date Thu, 12 Apr 2007 21:01:42 +0200
parents b52779523392
children 2eefd12526ff
comparison
equal deleted inserted replaced
69:b52779523392 70:4b537aadc5ce
90 90
91 91
92 Configure the web front-end 92 Configure the web front-end
93 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
94 94
95 The web front-end consists of a single HTML-page with an overview of the
96 packager status and links to build logs when available. There are two
97 ways to publish this front-end: as little web-server with a dynamic
98 web-page or as a directory with a bunch of files making up a static
99 web-site.
100
101 Webserver:
102
95 The default configuration should be OK in most cases. If you want you 103 The default configuration should be OK in most cases. If you want you
96 can customize it in cherrypy.cfg. Start the web front-end with 104 can customize it in cherrypy.cfg. Start the web front-end with
97 105
98 ./starttreepkgweb.py 106 ./starttreepkgweb.py
99 107
100 starttreepkgweb has some options to specify which configuration files to use. 108 starttreepkgweb has some options to specify which configuration files to use.
109
110
111 Static pages:
112
113 The static pages are published using two programs, createstaticweb.py
114 and publishstaticweb.py. createstaticweb.py is run on the system where
115 the tree packager runs. publishstaticweb.py is usually run on another
116 system and connects via ssh and rsync to the tree packager host, creates
117 the files with createstaticweb.py and copies the files from the tree
118 packager host to a third host.
119
120 The config file for publishstaticweb.py is demostaticweb.cfg. Copy this
121 file to ststaticweb.cfg and adapt it to your system. The comments in
122 the file describe the options. Afterwards, run the script with
123
124 ./publishstaticweb.py
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)