Quick and easy svn server for rails application

December 5, 2006

After doing some research and playing around, the easiest and best approach for an svn server, in my opinion, is svnserve:

http://svnbook.red-bean.com/en/1.0/ch06s03.html

It is quick and easy to setup and that is what I am all about. It allows access to multiple svn repositories and has an easy authentication setup. Once it is installed and your repository is created:

# svnadmin create ~user/source/project1

You can run svnserve one directory up and it will serve all repositories below it.

To configure authentication you modify two files: passwd and svnserve.conf, both in the /conf directory in the created repository. NOTE – when you modify these files the first entry has to have only one space from the begining of the line to the argument.

To start the server you just type:

# svnserve -d -r ~user/source

That is it. Time to move on to the next task.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: