Difference between revisions of "Hoperrprime:Trac"
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
- Subversion
- Special compile for apr-svn w/ APR_UTIL_WITH_BERKELEY_DB=yes
- portinstall subversion
- svnadmin hotcopy to move Subversion over NFS
- Install mod_python-3.3.1 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 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>