Trac
From Attie's Wiki
(Difference between revisions)
m (Reverted edits by 41.215.233.146 (Talk) to last revision by 212.138.113.15) |
m |
||
Line 1: | Line 1: | ||
− | + | Trac is a web based project management solution! | |
+ | http://trac.edgewall.org/ | ||
+ | |||
+ | Configuration steps: | ||
+ | * Download and extract Trac | ||
+ | |||
+ | * Install Trac | ||
+ | <pre> | ||
+ | $ ./setup.py install | ||
+ | </pre> | ||
+ | |||
+ | ---- | ||
+ | To create another project, start from here! | ||
+ | |||
+ | * Create a Trac environment | ||
+ | <pre> | ||
+ | $ trac-admin /path/to/project initenv | ||
+ | </pre> | ||
+ | |||
+ | * Setup apache config | ||
+ | <pre> | ||
+ | DefaultInitEnv TRAC_ENV "/path/to/project" | ||
+ | <Location /> | ||
+ | Options +ExecCGI | ||
+ | SetEnv TRAC_ENV "/path/to/project" | ||
+ | </Location> | ||
+ | </pre> | ||
+ | |||
+ | * Copy <code>Trac-n.nn.n/cgi-bin/trac.fcgi</code> from the downloaded archive to the website | ||
+ | |||
+ | * Install account manager plugin | ||
+ | <pre> | ||
+ | $ easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk | ||
+ | </pre> | ||
+ | |||
+ | * Setup Authentication | ||
+ | <source lang="ini"> | ||
+ | [components] | ||
+ | trac.web.auth.LoginModule = disabled | ||
+ | acct_mgr.web_ui.LoginModule = enabled | ||
+ | acct_mgr.web_ui.RegistrationModule = disabled | ||
+ | </source> | ||
+ | |||
+ | * Add anonymous to the TRAC_ADMIN group to create your first user | ||
+ | <pre> | ||
+ | $ trac-admin /path/to/project permission add anonymous TRAC_ADMIN | ||
+ | </pre> | ||
+ | |||
+ | * Use the web interface to create a user, then remove TRAC_ADMIN from anonymous | ||
+ | |||
+ | |||
+ | For help with the <code>trac.ini</code> file see: http://trac.domain.com/trac.fcgi/wiki/TracIni |
Revision as of 13:35, 16 October 2010
Trac is a web based project management solution! http://trac.edgewall.org/
Configuration steps:
- Download and extract Trac
- Install Trac
$ ./setup.py install
To create another project, start from here!
- Create a Trac environment
$ trac-admin /path/to/project initenv
- Setup apache config
DefaultInitEnv TRAC_ENV "/path/to/project" <Location /> Options +ExecCGI SetEnv TRAC_ENV "/path/to/project" </Location>
- Copy
Trac-n.nn.n/cgi-bin/trac.fcgi
from the downloaded archive to the website
- Install account manager plugin
$ easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk
- Setup Authentication
[components] trac.web.auth.LoginModule = disabled acct_mgr.web_ui.LoginModule = enabled acct_mgr.web_ui.RegistrationModule = disabled
- Add anonymous to the TRAC_ADMIN group to create your first user
$ trac-admin /path/to/project permission add anonymous TRAC_ADMIN
- Use the web interface to create a user, then remove TRAC_ADMIN from anonymous
For help with the trac.ini
file see: http://trac.domain.com/trac.fcgi/wiki/TracIni