# HG changeset patch # User Bernhard Herzog # Date 1176404502 -7200 # Node ID 4b537aadc5ce335b1157343c3229307fa4fb51c9 # Parent b5277952339233ffe1fd12061d2bc148f91af59a add README section for the static web-page config diff -r b52779523392 -r 4b537aadc5ce README --- a/README Thu Apr 12 21:00:10 2007 +0200 +++ b/README Thu Apr 12 21:01:42 2007 +0200 @@ -92,9 +92,33 @@ Configure the web front-end ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The web front-end consists of a single HTML-page with an overview of the +packager status and links to build logs when available. There are two +ways to publish this front-end: as little web-server with a dynamic +web-page or as a directory with a bunch of files making up a static +web-site. + +Webserver: + The default configuration should be OK in most cases. If you want you can customize it in cherrypy.cfg. Start the web front-end with ./starttreepkgweb.py starttreepkgweb has some options to specify which configuration files to use. + + +Static pages: + +The static pages are published using two programs, createstaticweb.py +and publishstaticweb.py. createstaticweb.py is run on the system where +the tree packager runs. publishstaticweb.py is usually run on another +system and connects via ssh and rsync to the tree packager host, creates +the files with createstaticweb.py and copies the files from the tree +packager host to a third host. + +The config file for publishstaticweb.py is demostaticweb.cfg. Copy this +file to ststaticweb.cfg and adapt it to your system. The comments in +the file describe the options. Afterwards, run the script with + + ./publishstaticweb.py