Difference between revisions of "Trac"

From OSGeo
Jump to navigation Jump to search
(New (from migration doc))
 
(→‎Creating a trac instance: add various configuration notes)
Line 21: Line 21:
 
   $ sudo trac-admin /var/www/trac/<proj_name> initenv
 
   $ sudo trac-admin /var/www/trac/<proj_name> initenv
 
   $ sudo chown -R apache:apache /var/www/trac/<proj_name>
 
   $ sudo chown -R apache:apache /var/www/trac/<proj_name>
 +
 +
* Update /var/www/trac/conf/trac.ini to enable email notification.
 +
* Add section in /etc/httpd/conf.d/trac.conf enabling LDAP based authentication.
 +
* Logo can be referenced in /var/www/trac/<proj_name>/conf/trac.ini and placed in /var/www/trac/<proj_name>/htdocs
 +
* modify webadmin.* setting in trac.ini to enabled for web based administration.
  
 
== Hotcopy a trac instance ==
 
== Hotcopy a trac instance ==
  
 
   $ sudo trac-admin /var/www/html/trac/<proj_name> hotcopy /path/to/copy/trac/to
 
   $ sudo trac-admin /var/www/html/trac/<proj_name> hotcopy /path/to/copy/trac/to

Revision as of 20:13, 9 February 2007

Summary

Trac 0.10.3 is running at http://trac.osgeo.org/ (the primary Peer1 host).

  • Trac Guide
  • All data and configurations live under /var/www/trac
  • Actual python is installed in /usr/lib/python2.3/site-packages/trac
  • Frank Warmerdam and Howard Butler have configuration experience, and can help maintain instances.

Instances

Procedures

Creating a trac instance

  $ sudo trac-admin /var/www/trac/<proj_name> initenv
  $ sudo chown -R apache:apache /var/www/trac/<proj_name>
  • Update /var/www/trac/conf/trac.ini to enable email notification.
  • Add section in /etc/httpd/conf.d/trac.conf enabling LDAP based authentication.
  • Logo can be referenced in /var/www/trac/<proj_name>/conf/trac.ini and placed in /var/www/trac/<proj_name>/htdocs
  • modify webadmin.* setting in trac.ini to enabled for web based administration.

Hotcopy a trac instance

  $ sudo trac-admin /var/www/html/trac/<proj_name> hotcopy /path/to/copy/trac/to