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…

  1. Use your favourite SVN client to check out http://websvn.tigris.org/svn/websvn/tags/2.0/. (username: guest, no password).
  2. Rename the file ./includes/distconfig.php to ./includes/config.php
  3. 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/');
  4. 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 ;)

Share and Enjoy:
  • DZone
  • Digg
  • del.icio.us
  • Technorati

4 Responses to “Setting up WebSVN on Dreamhost”

Leave a Reply