Difference between revisions of "Trac"
Jump to navigation
Jump to search
(added note on upgrade, and ticket 39.) |
(update based on new virtual host scheme.) |
||
Line 5: | Line 5: | ||
* [http://trac.edgewall.org/wiki/TracGuide Trac Guide] | * [http://trac.edgewall.org/wiki/TracGuide Trac Guide] | ||
* All data and configurations live under /var/www/trac | * All data and configurations live under /var/www/trac | ||
+ | * virtual server configurations are under /etc/httpd/conf.d/trac | ||
* Actual python is installed in /usr/lib/python2.3/site-packages/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. | * Frank Warmerdam and Howard Butler have configuration experience, and can help maintain instances. | ||
Line 10: | Line 11: | ||
= Instances = | = Instances = | ||
− | * [http://trac.osgeo.org | + | * [http://trac.osgeo.org/osgeo OSGeo Committees] |
− | * [http://trac.osgeo.org | + | * [http://trac.osgeo.org/mapguide MapGuide] |
− | * [http://trac.osgeo.org/trac/ | + | * [http://trac.osgeo.org/fdo FDO] |
+ | * [http://trac.osgeo.org/gdal GDAL] (only partially setup) | ||
= Procedures = | = Procedures = | ||
Line 20: | Line 22: | ||
The file /usr/lib/python2.3/site-packages/trac/notification.py was substantially modified to support looking up email addresses in LDAP, and will need to be re-adjusted if we upgrade to a new version of Trac. | The file /usr/lib/python2.3/site-packages/trac/notification.py was substantially modified to support looking up email addresses in LDAP, and will need to be re-adjusted if we upgrade to a new version of Trac. | ||
− | * http://trac.osgeo.org | + | * http://trac.osgeo.org/osgeo/ticket/39 |
== Creating a trac instance == | == Creating a trac instance == | ||
Line 27: | Line 29: | ||
$ 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. | + | * Update /var/www/trac//<proj_name>/conf/trac.ini to enable email notification. |
− | * Add | + | * Add virtual host file /etc/httpd/conf.d/trac/<proj_name>.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 | * 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. | * modify webadmin.* setting in trac.ini to enabled for web based administration. | ||
+ | * Add to /var/www/trac/index.html | ||
== Hotcopy a trac instance == | == Hotcopy a trac instance == |
Revision as of 18:40, 20 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
- virtual server configurations are under /etc/httpd/conf.d/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
- OSGeo Committees
- MapGuide
- FDO
- GDAL (only partially setup)
Procedures
Upgrade
The file /usr/lib/python2.3/site-packages/trac/notification.py was substantially modified to support looking up email addresses in LDAP, and will need to be re-adjusted if we upgrade to a new version of Trac.
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//<proj_name>/conf/trac.ini to enable email notification.
- Add virtual host file /etc/httpd/conf.d/trac/<proj_name>.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.
- Add to /var/www/trac/index.html
Hotcopy a trac instance
$ sudo trac-admin /var/www/html/trac/<proj_name> hotcopy /path/to/copy/trac/to