Kathy is in love with Subversion, you will be too after this tutorial:
Using Subversion is very similar to uploading and downloading files using an FTP client. First you’ll need a Subversion server and a Subversion client. You can get the latest version of the Subversion server from Tigiris.org. As I write this, the latest version for Mac OSX is Universal Subversion 1.5.0. I’m a Mac guy so if you use Windows, sorry but keep Googling for a different tutorial.
Installation and Creating a Repository
- 1. Download and run the Subversion installer.
- 2. Many programmers like to use Subversion from the terminal. Most designers would rather claw their eyes out so make sure you download and install a Subversion client. Some popular ones are CollabNet, ToroiseSVN, ZigVersion, and SVNX. My personal favorite is ZigVersion.
- 3. Before you continue I highly recommend you read through this e-book about Subversion. It’ll explain some of the terminology, the reasoning and the theory behind Subversion. If you have no clue what the heck I’m talking about, it will break things down for you and help you understand Subversion on a deeper level. You only have to read it once and you’ll thanks me afterwards. Trust me. ;)
- 4. Now let’s create a folder called “Subversion” in the root folder on your Mac.
- 5. Inside that folder make another folder and name it whatever you want. I named mine “1”. You can absolutely use any folder on your computer but for the sake of keeping the path short I’m using the root. My path is:
- 6. Now that we’ve read up on Subversion, downloaded and installed a Subversion server and client, and created some files, we need to launch the Terminal. We’re going to create what’s known as a “repository” for our files.
- 7. Type
lsand hit to Return to see what directory you’re in. If it isn’t the root, or wherever you want to be type
cdto change directories to wherever you need to be. If you’re in the root of the folder that contains the two folders (parent and child) then you’re in the right place.
- 8. In the Terminal type
svnadmin create Subversion/1and hit return.
- 9. Close Terminal.
- 10. We’ve successfully created a repository. Navigate to the child folder (mine was called “1”) and look inside, you should see several files that weren’t there before. This is our Subversion Repository and now that it’s created we can start using it.
In our next lesson we’ll learn how to integrate Subversion with our typical workflow as designers.