Notes for setting up a trac install for testing this

setup an SVN repo

As root do

# svnadmin create /path/to/svn/

# find /path/to/svn/ -type f -exec chmod 660 {} \;

# find /path/to/svn/ -type d -exec chmod 2770 {} \;

# chown -R root.www-data /path/to/svn

setup an trac environment

As root do

# trac-admin create /path/to/trac/

# find /path/to/trac/ -type f -exec chmod 660 {} \;

# find /path/to/trac/ -type d -exec chmod 2770 {} \;

# chown -R root.www-data /path/to/trac

setup Postgresql

(Optional) Create a Tablespace for the database

As root do

# cd /vault/agiletrac2

# mkdir postgres

# chown -R postgres:postgres postgres

# su - postgres

postgres@machine# psql

Welcome to psql 8.3.0, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

postgres=# CREATE TABLESPACE agiletrac2 LOCATION '/vault/agiletrac2/postgres';
CREATE TABLESPACE
postgres=# \q

# createdb --host localhost --username trac_db_admin --password --owner trac_db_admin --tablespace agiletrac2 --echo trac_db

Setting up a test environment in Windows

Run tracd as follows

> tracd -p 8000 --auth=trac01,c:\vault\digest.txt,trac c:\vault\trac01