Trac Install and Setup

I recently wanted to try out the Trac .11dev. It's supposed to have a lot of cool features including the web admin tool by default. It's also supposed to do multiple project support very well.

Installation

First I needed to get a few packages

I downloaded the code to /usr/share/trac

$ sudo apt-get install python-subversion python-sqlite python-clearsilver python-dev python-setuptools
$ cd /usr/share/trac
$ sudo python setup.py install

This also downloaded Genshi using setuptools.

Project Setup

Pick a directory to keep all your trac info. I used /var/ww/trac/$project_name

$ trac-admin $project_dir initenv 

// add the admin user so that the admin tab for the web admin shows up
trac-admin $project permission add $username TRAC_ADMIN

Then set the config options for base_url and link to be the https:// url for the site

 
software/trac.txt · Last modified: 16:59 01/11/2007 by rharding