Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

smilinmonki666

macrumors regular
Original poster
Jan 20, 2008
240
0
Hi,

I'm sure this is the best place to put this, so here goes.

I currently have my iMac set up for PHP development. So far, fine.

I have the following set up & running smoothly:

Apache -> vhost & hosts file configured correctly

PHP -> ini file configured correctly

MySQL -> All set up correctly

I am using NetBeans for my Dev software which I use at work on my Windows machine (Not allowed macs :( ) along with TextMate.

My biggest problem I have now is trying to set up subversion, now I think I am being thick as I've read so many guides with different information I may have just frazzled my head a bit as I've been on this for a week or so.

Please could someone help me from the beginning to the end to set up svn and start using NetBeans with with svn.

my dev area is within my Sites folder if that helps?
 
My biggest problem I have now is trying to set up subversion, now I think I am being thick as I've read so many guides with different information I may have just frazzled my head a bit as I've been on this for a week or so.

Please could someone help me from the beginning to the end to set up svn and start using NetBeans with with svn.

Do a

">which svnadmin"

and let us know the result. Subversion might already be installed. It is installed on my Mac, but that might be an artifact of downloading "SmartSVN" I'm not sure yet.
 
Do a

">which svnadmin"

and let us know the result. Subversion might already be installed. It is installed on my Mac, but that might be an artifact of downloading "SmartSVN" I'm not sure yet.

Sorry, was meant to put that in.

The result is /usr/bin/svnadmin
 
Sorry, was meant to put that in.

The result is /usr/bin/svnadmin

It looks like you have SVN installed already. I'm short of time at the moment but maybe someone can help with the rest of the question. This is some things I'll want to get setup myself this weekend, so might post in a day or two if no one else does.
 
Use git. The footprint is smaller so you won't be wasting your diskspace with repositories and branches.
 
Use git. The footprint is smaller so you won't be wasting your diskspace with repositories and branches.

I would use git but someone I know used svn, then switched to git and after 6 months he moved back to svn. I've been told that svn is better for versioning and calibration of code. But then I'm only going on whatever been told.

How easy is this to setup. Its an option to look at just to test more that anything and have a play around.

Also what are our views of svn vs Git? I'm going to read up on it but its nice to hear others views. Also, is git usable with xCode?

Cheers, & sorry for the questions.
 
I would use git but someone I know used svn, then switched to git and after 6 months he moved back to svn. I've been told that svn is better for versioning and calibration of code. But then I'm only going on whatever been told.

How easy is this to setup. Its an option to look at just to test more that anything and have a play around.

Also what are our views of svn vs Git? I'm going to read up on it but its nice to hear others views. Also, is git usable with xCode?

Cheers, & sorry for the questions.

I personally use SVN at work and at home. View the man for "svn" it will tell you how to create repositories and add files.
 
I use git for all of my developments, both at home and in the office. Small footprint, efficient, DISTRIBUTED and you can't beat free tools like SmartGIT on the Mac.

I would use git but someone I know used svn, then switched to git and after 6 months he moved back to svn. I've been told that svn is better for versioning and calibration of code. But then I'm only going on whatever been told.

How easy is this to setup. Its an option to look at just to test more that anything and have a play around.

Also what are our views of svn vs Git? I'm going to read up on it but its nice to hear others views. Also, is git usable with xCode?

Cheers, & sorry for the questions.

Any of the repos are usable with anything. Just because xCode doesn't have built in git support, doesn't mean you can't setup git to use it's files as a repo.
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.