Trac

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m (Protected "Trac" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(19 intermediate revisions by 8 users not shown)
Line 3: Line 3:
  
 
Configuration steps:
 
Configuration steps:
# Install Trac
+
* Download and extract Trac
 +
 
 +
* Install Trac
 
<pre>
 
<pre>
 
$ ./setup.py install
 
$ ./setup.py install
 
</pre>
 
</pre>
# Create a Trac environment
+
 
 +
----
 +
To create another project, start from here!
 +
 
 +
* Create a Trac environment
 
<pre>
 
<pre>
 
$ trac-admin /path/to/project initenv
 
$ trac-admin /path/to/project initenv
 
</pre>
 
</pre>
# Install account manager plugin
+
 
 +
* 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>
 
<pre>
 
$ easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk
 
$ easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk
 
</pre>
 
</pre>
# Setup Authentication
+
 
 +
* Setup Authentication
 
<source lang="ini">
 
<source lang="ini">
 
[components]
 
[components]
Line 21: 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
 +
<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

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox