1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
WebUI is a read-only interface to DITrack database. Its main purpose is to
provide a quick glance into the database, not to create a full-fledged tool for
manipulating the data.
Here are the steps to install WebUI:
* Set up a working copy for WebUI to use. Make sure that the user your web
server runs as has read/write access to the directory.
* Edit the WebUI configuration ('config' is a sample).
* Tweak the templates as needed (samples are in the 'templates' directory).
Make sure that the configuration file refers to a correct path.
* Edit your web server configuration. Make sure that 'index.cgi' is treated as
a CGI executable. Make sure that environment variable 'DTWEB_CONFIG' points to
your configuration file. Make sure that PYTHONPATH includes path to DITrack
modules.
Here is an example configuration for Apache:
<Directory /www/issues.example.org>
Options -Indexes +ExecCGI +FollowSymlinks
DirectoryIndex index.cgi
SetEnv DTWEB_CONFIG /usr/local/etc/ditrack/webui.config
SetEnv PYTHONPATH /usr/local/lib/python2.4/site-packages
</Directory>
|