My blog has moved
Please update your bookmarks and feeds for my site.
I now have a Mango Blog at:
http://www.andyjarrett.com/blog
Feed URL: http://feeds.feedburner.com/andyjarrett
Please update your bookmarks and feeds for my site.
I now have a Mango Blog at:
http://www.andyjarrett.com/blog
Feed URL: http://feeds.feedburner.com/andyjarrett
I'll be honest, I don't have much linux experience. I've always liked the idea of Linux and a command line driven OS but as soon as I see the GUI I tend point and click, which means I don't learn anything new. Then comes along JeOS (Just enough OS, pronounced as "juice") from Ubuntu which doesn't give you a GUI, it just gives you the bare minimum to run a server. It's designed for VM's and perfect for running a Subversion server on your local machine in the background. The specs are:
So with JeOS and VMWare Fusion armed I was ready to setup a light-weight Subversion and Apache server. Below documents what I did to get a single SVN repository up and running. Im not installing Trac or SSL with this just so you know. I might try and cover them later, along with multiple repositories.
Setting up JeOS with VMWare fusion is no different than setting up any other VM so I won't go over that here. I'll assume that you can do that, and have done that and now at the command prompt.
Obviously because there is no GUI supplied all commands have to be run from the Command Line/Terminal. This also means editing txt files from the terminal too. If you've never used VIMM you might want to have the following URL handy www.gnulamp.com/vi.html
First things first, lets make sure your install is up-to-date.
First off if you don't know of Jumpbox let me give you a quick run-down
JumpBox saves you time and headaches by building virtual machines that handle all the mundane tasks related to installing and managing server based software. With a JumpBox there's no fiddling with database scripts, no editing configuration files and no worrying about whether or not you have the right version of library X to go with library Y.
In short, Jumpbox offers virtual machines of your favourite open-source software, ready-to-run for free, and all images are will run on a host of virtualisation software, check out the compatibility list here
This is great for just testing out new software but for a nominal fee you can also purchase a license to your VM image which allows SSH connections so you can tinker more under the hood. For the trac/subversion license this costs $49 (£25ish) which when you consider the billable time you would loose setting this up with all the libraries it almost pays for its self by the time you've run the app once.
Now you're up-to-speed this brings me to my post. With access terminal access you can now go in and add more projects to the trac/subversion setup. After some digging, googling, and playing around i think I have the steps:
Update: This appears to be on a different port for others. As Jax pointed out you can go: Eclipse, select Help -> Help contents to get there as well :o)
I was just going into some help files of Aptana when I came across the local address for the Eclipse Help system at: http://127.0.0.1:58041/help/index.jsp
In there was a wealth of information I just didn't know was on my hard drive ... though I suppose it depends on what plug-in's you've got installed but for me I had:
I was just about to get myself ready to hit the Terminal to get SVN up and running on the Mac when I came across the Martin Ott's site. He puts out a .dmg packages for users to download and install to get yourself up and running with Subversion quickly. Looking back over the blog he is pretty consistant with keeping them up to date, check out his latest at http://www.codingmonkeys.de/mbo/articles/2007/06/23/subversion-1-4-4
I needed to do a find and replace on a couple of fields in a table and was stuck on the best way to this. Initially I was going to download a database dump and via a text editor find/replace and then re-upload but then I found out that MySQL has a Replace() function.
They say Laziness is the mother of all invention, well it strikes again. I've created another Ant build file for use with Doug Hughes Reactor. The build file will download the lastest set of Reactor files the Doug's SVN server, which at the moment has just reached a beta candidate.
The code for build.xml is below.
DevEx have got a good tutorial on setting up Subversion. Unlike some other tutorials out there this touches on repository setup as well as branching and tagging - which im still getting my newbie head around.
A stright forward guide to the initial set up of Subversion (on Apache)