Browse svn history with browser - ViewVC: Difference between revisions

From Andreida
(Created page with "== new == USE websvn instead! apt-get install websvn link /etc/websvn/apache.conf to /etc/apache2/sites-available and then to enabled == old == install: apt-get install vi...")
 
(No difference)

Latest revision as of 11:42, 16 February 2016

new

USE websvn instead!

apt-get install websvn

link /etc/websvn/apache.conf to /etc/apache2/sites-available and then to enabled

old

install:

apt-get install viewvc  cvsgraph libgd-tools

setup repositories in /etc/viewvc/viewvc.conf

root_parents = /<path-above-your-svn-repositories> : svn

If one of your repositories is /svn-reps/my-vip-projects then the line would be:

root_parents = /svn-reps : svn

activate for apache: add in /etc/apache2/mods-enabled/dav_svn.conf as last line: (check the path perhaps)

ScriptAlias /viewvc /usr/lib/viewvc/cgi-bin/viewvc.cgi
  • reload apache

use it in your browser: www.<your-domain>/viewvc