Below is the file 'config.py.example' from this revision. You can also download the file.
# Copyright (C) 2005 Grahame Bowland <grahame@angrygoats.net>
#
# This program is made available under the GNU GPL version 2.0 or
# greater. See the accompanying file COPYING for details.
#
# This program is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE.
#
# config.py
#
# This python script is imported by ViewMTN
# Note that changes to the script may not be
# noticed immediately by ViewMTN, as mod_python
# caches imported Python modules.
#
# If config changes are not picked up, reloading
# the web server should solve the issue.
#
import sys
# default addresses should work without modification
# if running viewmtn standalone. You must change these
# if you run viewmtn with a web server, see INSTALL.
dynamic_uri_path = 'http://localhost:8080/'
static_uri_path = 'http://localhost:8080/static/'
# Directory in which to find the templates/ files.
# Depending on the web server setup, this might need to be absolute.
templates_directory = 'templates/'
# if you are running under Apache2, set this.
# don't set it otherwise, it breaks any other configuration
# including running standalone.
running_under_apache2 = False
# the path to the 'mtn' binary
monotone = '/usr/bin/mtn'
# the monotone database to be shared out
# everything in this database should be considered subject
# to disclosure. So don't store your private key in
# it!
dbfile = '/path/to/my/viewmtn.db'
# highlight from http://andre-simon.de/
# if you don't have this available, just comment
# the "highlight_command" line out
highlight_command = '/usr/bin/highlight'
graphopts = {
# a directory (must be writable by the web user)
# in which viewmtn can output graph files
# (you should set up a cronjob to delete old ones
# periodically)
'directory' : '/var/tmp/viewmtn-graph/',
# a URL, relative or absolute, at which the files
# in the 'graphdir' directory can be found. Should
# end in a '/' character
'uri' : 'graph/',
# the path to the 'dot' program
'dot' : '/usr/bin/dot',
# options to use for nodes in the dot input file
# we generate. Note that the font below (Monaco)
# might not be present on your system; try something
# like "Luxi mono" should look nice
'nodeopts' : { 'fontname' : 'Monaco',
'fontsize' : '8',
'shape' : 'box',
'height' : '0.3',
'spline' : 'true',
'style' : 'filled',
'fillcolor' : '#dddddd' }
}
# Icon Theme to use for icons; 'gnome' is a safe value,
# as is 'hicolor'. Note that icon_size must be a string,
# not an integer
# Set icon_theme = None to disable icons.
icon_theme = 'gnome'
icon_size = '16'
# Some installations may have shared MIME info that is
# unhelpful. Forced remappings can be placed in the
# following hash table (uncomment it to enable it)
#
# mime_map = { 'application/x-python' : 'text/plain' }
#