Difference between revisions of "Hoperrprime:Trac"

From Earlham CS Department
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
## Special compile for apr-svn w/ <tt>APR_UTIL_WITH_BERKELEY_DB=yes</tt>
 
## Special compile for apr-svn w/ <tt>APR_UTIL_WITH_BERKELEY_DB=yes</tt>
 
## portinstall subversion
 
## portinstall subversion
 +
## svnadmin hotcopy to move Subversion over NFS
 
# Install mod_python-3.3.1 from ports
 
# Install mod_python-3.3.1 from ports
# Install trac-0.10.4 from ports
+
# Install trac-0.10.4 from ports (made sure Postgres support was enabled)
 +
# Loaded trac_debian-cluster Postgres database from hopper with pgdump and psql
 +
# Added <tt>Includes/trac.conf</tt> to apache configuration, based on TracModPython documentation.
 +
 
 +
<pre>
 +
Alias "/trac" "/cluster/trac"
 +
 
 +
<Location /trac>
 +
        SetHandler mod_python
 +
        PythonHandler trac.web.modpython_frontend
 +
        PythonOption TracEnvParentDir /cluster/trac
 +
        PythonOption TracUriRoot /trac
 +
</Location>
 +
 
 +
<Location "/trac/debian-cluster/login">
 +
        AuthType Basic
 +
        AuthName "Trac"
 +
        AuthUserFile /cluster/trac/htpasswd
 +
        require valid-user
 +
</Location>
 +
</pre>

Latest revision as of 22:18, 14 January 2008

  1. Subversion
    1. Special compile for apr-svn w/ APR_UTIL_WITH_BERKELEY_DB=yes
    2. portinstall subversion
    3. svnadmin hotcopy to move Subversion over NFS
  2. Install mod_python-3.3.1 from ports
  3. Install trac-0.10.4 from ports (made sure Postgres support was enabled)
  4. Loaded trac_debian-cluster Postgres database from hopper with pgdump and psql
  5. Added Includes/trac.conf to apache configuration, based on TracModPython documentation.
Alias "/trac" "/cluster/trac"

<Location /trac>
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnvParentDir /cluster/trac
        PythonOption TracUriRoot /trac
</Location>

<Location "/trac/debian-cluster/login">
        AuthType Basic
        AuthName "Trac"
        AuthUserFile /cluster/trac/htpasswd
        require valid-user
</Location>