Projekt trac@job2: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* add "SVN_TRAC TRAC_MODPYTHON" to /etc/sysconfig/apache2 APACHE_SERVER_FLAGS | * add "SVN_TRAC TRAC_MODPYTHON" to /etc/sysconfig/apache2 APACHE_SERVER_FLAGS | ||
* restart apache2, check [http://localhost/trac trac url]. Should display "Available Projects" | * restart apache2, check [http://localhost/trac trac url]. Should display "Available Projects" | ||
* Create a trac project with trac-admin /srv/trac/TestProject initenv | |||
* change owner to apache user: chown -R wwwrun /srv/trac/TestProject | |||
* edit /srv/trac/TestProject/conf/trac.ini (add a logo, enable hg support) | |||
[header_logo] | |||
alt = Joachims Trac | |||
src = site/star.png | |||
[components] | |||
tracext.hg.* = enabled | |||
* add a hg repo: trac-admin /srv/trac/TestProject repository add DB2_sys-auth /home/joachim/workspace/DB2_sys-auth hg |
Revision as of 15:58, 14 September 2011
Install and Setup Trac Test Installation on my Notebook
- check trac opensuse install documentation for changes to below steps
- prerequisites: opensuse 11.4 with apache2 and python (add module python in /etc/sysconfig/apache2 if not yet enabled)
- add trac buildservice repo to yast
- install trac (and python-setuptools if not dependency selected). I also installed trac-mercurial-plugin and trac-plugin-tocmacro
- add "SVN_TRAC TRAC_MODPYTHON" to /etc/sysconfig/apache2 APACHE_SERVER_FLAGS
- restart apache2, check trac url. Should display "Available Projects"
- Create a trac project with trac-admin /srv/trac/TestProject initenv
- change owner to apache user: chown -R wwwrun /srv/trac/TestProject
- edit /srv/trac/TestProject/conf/trac.ini (add a logo, enable hg support)
[header_logo] alt = Joachims Trac src = site/star.png
[components] tracext.hg.* = enabled
- add a hg repo: trac-admin /srv/trac/TestProject repository add DB2_sys-auth /home/joachim/workspace/DB2_sys-auth hg