Trac

De wikilivois
Aller à la navigationAller à la recherche

http://trac.edgewall.org/

Trac est un outil de gestion de projet, notamment pour le développement informatique.

En particulier, il apporte:

  • un outil de gestion de tickets
  • un wiki


Installation

L'installation proposée est réalisée sur Debian/etch http://jay.bertrand.free.fr/blog/index.php?url=archives/27-Installer-Subversion-sous-Debian.html

Subversion

#mkdir -p /var/lib/trac/svn
#svnadmin create /var/lib/trac/svn
#touch test 
#svn import test file:///var/lib/trac/svn/test


Le projet

#trac-admin /var/lib/trac/project initenv
#chown -R www-data /var/lib/trac/
#ln -s /usr/share/trac/cgi-bin/trac.cgi /usr/lib/cgi-bin/

Configurer Apache

<licode file=/etc/apache2/sites-enabled/000-default> Alias /trac/ "/usr/share/trac/htdocs/"

 #You have to allow people to read the files in htdocs
 <Directory "/usr/share/trac/htdocs/">
       Options Indexes MultiViews
       AllowOverride None
       Order allow,deny
       Allow from all
 </Directory>
 <Location "/cgi-bin/trac.cgi">
       SetEnv TRAC_ENV "/var/lib/trac/project"
 </Location>
 # You need this to allow users to authenticate
 # trac.htpasswd can be created with
 # cmd 'htpasswd -c trac.htpasswd' (UNIX)
 # do 'man htpasswd' to see all the options
 <Location "/cgi-bin/trac.cgi/login">
       AuthType Basic
       AuthName "trac"
       AuthUserFile /var/lib/trac/trac.htpasswd
       Require valid-user
 </location>

</licode>

Copyright

© 2007 Christophe de Livois

Tête de GNU Vous avez l'autorisation de copier, distribuer et/ou modifier ce document suivant les termes de la GNU Free Documentation License, Version 1.2 ou n'importe quelle version ultérieure publiée par la Free Software Foundation; sans section invariante, sans page de garde, sans entête et sans page finale. Pour plus d'informations consulter le site de l'APRIL.