Trac

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
 
$ 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 Trac-n.nn.n/cgi-bin/trac.fcgi to website
  
 
* Install account manager plugin
 
* Install account manager plugin

Revision as of 23:42, 4 March 2010

Trac is a web based project management solution! http://trac.edgewall.org/

Configuration steps:

  • Download and extract Trac
  • Install Trac
$ ./setup.py install
  • 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 to 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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox