Monday, October 29, 2007

Subversion with Apache on Leopard - Extremely simple

Leopard has subversion (client/server) already installed!!

I had a subversion server running on Tiger and I wanted to do a clean install of Leopard so, I used the file to backup things.

After installing Leopard, my subversion server was my first priority. To my surprise, it was extremely simple.

1. Subversion is included.
2. Move my svn backup back onto the local disk. 
3. chmod -R www:www the directory.
4. edit /etc/apache2/httpd.conf adding a line withLoadModule dav_svn_module libexec/apache2/
5. add a svnlocation.conf file under /etc/apache2/other dir. something like ...
     DAV svn
     SVNPath /usr/local/svn
6. System Preferences/Sharing/Web Sharing - checked
7. Safari -> http://localhost/svn
8. Smile :) 

Labels: ,


Post a Comment

Links to this post:

Create a Link

<< Home