Reputation: 1281
I have a project "QHG3" in an svn
repository located at "/home/morpho_svn" on my server and have created a Trac environment with
sudo trac-admin /home/users/QHG/TracQHG3 initenv
where i gave the project name as 'QHG3'.
Then i started tracd
/usr/bin/python /usr/bin/tracd --daemonize --pidfile=/var/run/tracd.pid --port=8000 -s /home/users/QHG/TracQHG3/
I would now like to see the code browser. When i use the URL http://my_server:8000/TracQHG3/browser/QHG3
i get the error "No handler matched request to /TracQHG3/browser/QHG3"
(i copied this URL from an older installation with functioning code browser)
I suspect i missed a step somewhere because i don't see were the assosiation between the Trac environment and my svn repository is made.
Are there any additional steps i need to take? What URL should i use to see the code browser?
(edit: corrected typo (TracQHG3 instead of TracQHG4 in the URL)
The component section of trac.ini:
[components]
tracopt.versioncontrol.svn.* = enabled
And repositories
[repositories]
.dir = /home/morpho_svn
.type = svn
section version control:
[versioncontrol]
allowed_repository_dir_prefixes =
default_repository_type = svn
Upvotes: 0
Views: 168
Reputation: 2934
You'll need to either omit the -s switch or remove TracQHG3 from the path and just navigate to http://my_server:8000
and http://my_server:8000/browser
. The -s switch implies a single project, and the project name is not included in the path.
You need to enable svn support and then configure the repositories through the page http://my_server:8000/TracQHG4/admin/versioncontrol
or by editing trac.ini.
Upvotes: 1