User Tools

Site Tools


project_management:trac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

project_management:trac [2010/06/09 15:09]
172.26.14.218 created
project_management:trac [2010/06/09 15:10] (current)
172.26.14.218
Line 1: Line 1:
 ====== Trac ====== ====== Trac ======
  
-Create a new Trac project:+===== Create a new Trac project ​===== 
 <​code>​$ sudo trac-admin /​var/​lib/​trac/​myproject initenv</​code>​ <​code>​$ sudo trac-admin /​var/​lib/​trac/​myproject initenv</​code>​
 Change the permissions so the Apache user can manage the Trac environment:​ Change the permissions so the Apache user can manage the Trac environment:​
 <​code>​$ sudo chown -R www-data:​www-data /​var/​lib/​trac/​myproject</​code>​ <​code>​$ sudo chown -R www-data:​www-data /​var/​lib/​trac/​myproject</​code>​
 +
 +===== Configure Apache =====
 Configure Apache to use Python for '''/​trac'''​ URLs.  Put settings in a new configuration file, ''/​etc/​apache2/​conf.d/​trac.conf'':​ Configure Apache to use Python for '''/​trac'''​ URLs.  Put settings in a new configuration file, ''/​etc/​apache2/​conf.d/​trac.conf'':​
 <​file><​Location /trac> <​file><​Location /trac>
Line 14: Line 17:
 The ''​TracEnvParentDir''​ option tells it to allow access to all Trac instances in the specified directory. The ''​TracEnvParentDir''​ option tells it to allow access to all Trac instances in the specified directory.
  
 +===== Active Directory authentication =====
 Add Active Directory support for login URLs: Add Active Directory support for login URLs:
 <​file><​Location /​trac/​myproject/​login>​ <​file><​Location /​trac/​myproject/​login>​
project_management/trac.txt · Last modified: 2010/06/09 15:10 by 172.26.14.218