Trac

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

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