changeset 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
files README
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)