Hoperrprime:Trac: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Skylar (talk | contribs)
No edit summary
Skylar (talk | contribs)
No edit summary
 
Line 7: Line 7:
# Loaded trac_debian-cluster Postgres database from hopper with pgdump and psql
# 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.
# 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 03:18, 15 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>