Install and configure ViewVC++

by Maurizio Pinotti last modified Dec 30, 2008 05:53 PM
Quick steps to have all the stuff working

These are quick installation steps. If something fails... I'm sorry, there's no
more detailed documentation at the moment!

1) Untar mxmProxyTool-plone.tar.gz and ViewVC-plone.tar.gz in your
<zope instance>/Products directory.

2) Edit <zope instance>/Products/mxmProxyTool/mxmProxyTool.conf (this file is
someway self-learning). Here you should add one section for every ViewVC
instance you want to set up.

3) Untar ViewVC-cgi.tar.gz in the desired location, from now on <viewvc home>.
Now you must have an Apache (or other Web server) serving the
<viewvc home>/bin/cgi/viewvc.cgi, hope you know how to do this!

4) Edit <viewvc home>/viewvc.conf (see ViewVC help for how to do this) and
sites.conf (this file is self-documented).

5) Restart Zope.

6) For every Plone site in which you want to use ViewVC++ create an mxmProxyTool
object (in root folder, use ZMI) and install ViewVC-plone as a common Plone
products via Plone interface.

7) Go back to the ZMI and edit the index_html file located in the new created
"ViewVC" folder in the root of every Plone site. Here you must set site name
in the line python:proxy.showSite('viewvc').




So, just to summarize, site names must be set in 3 places:

1) in sites.conf (for ViewVC program)

2) in mxmProxyTool.conf (for mxmProxyTool)

3) in index_html (for ViewVC product)