Trac
From Attie's Wiki
(Difference between revisions)
m (Protected "Trac" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
(17 intermediate revisions by 8 users not shown) | |||
Line 9: | Line 9: | ||
$ ./setup.py install | $ ./setup.py install | ||
</pre> | </pre> | ||
+ | |||
+ | ---- | ||
+ | To create another project, start from here! | ||
* Create a Trac environment | * Create a Trac environment | ||
Line 14: | Line 17: | ||
$ trac-admin /path/to/project initenv | $ trac-admin /path/to/project initenv | ||
</pre> | </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 | * Install account manager plugin | ||
Line 26: | Line 40: | ||
acct_mgr.web_ui.LoginModule = enabled | acct_mgr.web_ui.LoginModule = enabled | ||
acct_mgr.web_ui.RegistrationModule = disabled | acct_mgr.web_ui.RegistrationModule = disabled | ||
− | </source > | + | </source> |
* Add anonymous to the TRAC_ADMIN group to create your first user | * Add anonymous to the TRAC_ADMIN group to create your first user | ||
− | < | + | <pre> |
$ trac-admin /path/to/project permission add anonymous TRAC_ADMIN | $ trac-admin /path/to/project permission add anonymous TRAC_ADMIN | ||
− | </code> | + | </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 |
Latest revision as of 13:36, 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