Software Versioning and You
It's hard to image that after developing for so long that there was a time that I didn't use any type of software versioning software. Yes, you heard me right, there was a time that I would simply edit some code and upload it to a live environment without a way to track any changes. Versioning software like Subversion allows you to keep track of changes to your code in case. Below you will find steps to set up a svn (Subversion) repository on a host machine and locally.
which svn
Your output should look something like this:
:~$ which svn /usr/bin/svn
svnadmin create (PATH TO YOU REPO HERE eg. /users/svnuser/myrepo)
anon-access = none auth-access = write password-db = passwd
After that you will need add a password file () and add the follow:(username) = (password)
STEP 4 - Run svn server:
svnserve -d
STEP 5 - On your local machine check out the repo:
cd ~/localworkspace svn co svn+ssh://username@hostname/users/svnuser/myrepo
STEP 5 - Kick back, relax....... No breaks here start mashing away at code!
Comments
Post a Comment