On 19 May 2006, at 06:09, Bala Paranj wrote:
> I followed the instructions at Hivelogic on Building Subversion
> (SVN) on Mac OS X and installed it
> on my machine.
>
> Now I am following the rubyonrails wiki on How to Use Rails With
> Subversion, it assumes that you
> have already created a subversion repository. Could someone please
> point me in the right direction
> for creating a subversion repository? Searching lead me to
> macdevcenter which seems to be
> applicable for a networked environment. Thanks in advance.
http://www.joshbuhler.com/2005/07/05/setting-up-the-subversion-client-
on-mac-os-x/ (look in the comments, you''ll also need to edit both
the shell script and applescript file in the link provided to the
startup item)
<quote>
I?ve actually got a few servers I use - we have one at work, there
are some online repositories I connect to for some open source stuff,
and then I have one running locally for my personal projects.
Setting up the local server wasn?t too bad, it took about an hour to
get it working just right, but I?ve been using it now for months. Now
that you mention it, it would be nice to have a guide on how to set
it up, as I would have loved one. I?m headed out of town this
weekend, so I?ll try to get a guide online before then, but if not,
I?ll have one up shortly.
In the meantime, here?s how I did it in a nutshell:
Use svnadmin to create your repository, using the fsfs file system,
that?ll save you the trouble of messing with the Berkely DB junk. But
as of the latest version of SVN, I think fsfs is the default now.
Then, start your server by launching svnserve with the following
command - svnserve -d -r path/to/repo
The -d tells it to run as a daemon, and the -r points it to the
repository. You?ll find better details on these commands in the SVN
Book you can find online.
Then, as you?ll need to start svnserve anytime your Mac restarts, I
wrote a little shell script to launch it, which is run by an
applescript that runs at startup. I?ve zipped those up for you if you
like. Just open them up and edit the paths to match your system.
http://www.joshbuhler.com/downloads/launchSVN.zip - (20KB)
This should be enough info to at least give you a head start, and
I?ll see what I can do about getting another guide online about how
to do this.
Later -
Josh
</quote>
Best regards
Peter De Berdt