Nov
8
2008
Setting up WebSVN on Dreamhost
WebSVN is an amazing PHP based interface in to your subversion repositories. Consider it a glossy online GUI to your code! This is a basic tutorial to set it up on your web server…
I should note in advance that I use Dreamhost as my hosting provider, so you’ll need to double check your exact configuration for yourself… Also I am about to install WebSVN 2.0…
- Use your favourite SVN client to check out http://websvn.tigris.org/svn/websvn/tags/2.0/. (username: guest, no password).
- Rename the file ./includes/distconfig.php to ./includes/config.php
- Open your config.php and make at least the following changes:
$config->setSVNCommandPath('/usr/bin/'); $config->setDiffPath('/usr/bin/');
and
$config->parentPath('/home/username/svn/');
- Lastly copy the files to a directory under your website
Now you’ve got a great online subversion browser… But this doesn’t have any user restriction yet, more on this soon ;)
