Changes between Initial Version and Version 1 of faq/setup-trac


Ignore:
Timestamp:
Apr 4, 2008, 4:25:47 PM (16 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/setup-trac

    v1 v1  
     1= Can I run a wiki and/or issue tracker/shared to do list? =
     2
     3May First/People Link supports a project called [http://trac.edgewall.com Trac]. Trac provides both a wiki and an issue tracker (which is like a collaborative shared to do list). This support site is running Trac - so if you are using this site you have a good idea of what Trac can do.
     4
     5If you would like to use Trac, please follow these directions. These directions are for users comfortable with [wiki:secure_shell using secure shell and the command line]. If you would like help setting up your Trac instance, please [/newticket open a new ticket] and we'd be happy to help you out.
     6
     7 * Configure your site to use [wiki:suexec suExec]
     8 * Setup Trac (you can do this step while waiting for the suExec step to be completed). Be sure to execute this step as the same user that you used to setup suExec.
     9  * Choose a directory to install your trac files (your domain.org/include/ directory is a good option). Replace words in capitals with values that make sense for your site:
     10{{{
     11mkdir /home/members/GROUPNAME/sites/DOMAIN/include/trac
     12mkdir /home/members/GROUPNAME/sites/DOMAIN/include/trac/PROJECTNAME
     13}}}
     14  * Initialize your project (the first question asks for the name of your project, for all other questions, you can safely choose the default values)
     15{{{
     16trac-admin /home/members/GROUPNAME/sites/DOMAIN/include/trac/PROJECTNAME initenv
     17}}}
     18 * Create a wrapper script to execute trac. Place a file in your cgi-bin/suexec directory trac.cgi with the contents:
     19{{{
     20#!/bin/bash
     21
     22export TRAC_ENV='/home/members/GROUPNAME/sites/DOMAIN/include/trac/PROJECTNAME'
     23exec /usr/share/trac/cgi-bin/trac.cgi
     24}}}
     25 * Make it executable:
     26{{{
     27chmod 755 trac.cgi
     28}}}
     29 * Optionally, add an alias to your apache configuration:
     30{{{
     31Alias /trac //home/members/GROUPNAME/sites/DOMAIN/cgi-bin/suexec/trac.cgi
     32}}}
     33
     34
     35
     36