Trac: Basic usage

After installing Trac, create a project environment
trac-admin $PROJECT_PATH initenv
this will prompt you for the $PROJECT_NAME and the database connection string. When in doubt press ENTER to use the default value.

To configure Apache-based authetication, create a password file
htpasswd -c $PASSWORD_PATH $USER
and grant administrative rights
trac-admin $PROJECT_PATH permission add $USER TRAC_ADMIN

To start an standalone version with Apache-based authentication use:
tracd -p $PORT --basic-auth="$PROJECT_NAME,$PASSWORD_PATH,$NOT_USED" $PROJECT_PATH
where $NOT_USED is not used (and therefore can be anything).

The web interface can be accessed at
http://localhost:$PORT/$PROJECT_NAME

To manage administrative issues, enter to the Trac interative shell
trac-admin $PROJECT_PATH
and use help to see the available options.