SVN How To Install

How-to's, little tricks, tutorials, code examples (snippets) and read-me's.

SVN How To Install

Postby Highway of Life » 24 Jul 2006, 11:32

Tutorial For Mac OS X
Perhaps someone could do a version for Windows and Linux users

Edit: Before you install this program with haste, I would recommend taking a trip to Martin Ott's Coding Monkey's page, where he keeps Mac OS X SVN Binaries up to date.
Be sure to read up on some installation tutorials before deciding on which version of SVN to install.

While you are there, I strongly recommend downloading SubEthaEdit for Mac. (Shareware), or there is a great Freeware version (tiny bit older version) here


    1. Make sure you have SVN installed. If you don't have it installed, just go to http://subversion.tigris.org/project_packages.html#osx and select the second link, (the one without FINK). Download and Install.

    2. Open Terminal
    3. Add SVN to your PATH. Type these commands into the Terminal:
      For Bash:
      Code: Select all
      touch ~/.bash_profile
      open -e ~/.bash_profile

      For TCSH:
      Code: Select all
      touch ~/.tcshrc
      open -e ~/.tcshrc

      This will open the ~/.bash_profile or ~/.tcshrc file in TextEdit.
    4. Now add the following line to the TextEdit file:
      For Bash:
      Code: Select all
      export PATH=$PATH:/usr/local/bin

      For TCSH:
      Code: Select all
      setenv PATH /usr/local/bin:$PATH

    5. Save and close the TextEdit .bash_profile file, then close your terminal window and open a new one. SVN should now be installed and configured correctly.
    6. Decide where you would like your checkouts to be, I chose home/checkouts.
      To do this, in Terminal
      1. cd /Users/yourname
      2. mkdir checkout
      3. cd checkout

      You are now inside the checkout directory and can run all the SVN commands from here.
    7. Get source code. Just paste
      Code: Select all
      svn co http://cat-proof.de:4711/olympus
      into the Terminal, and it will download the code to your checkouts folder.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10


Re: SVN How To Install

Postby LEW21 » 15 Aug 2006, 17:30

Tutorial For Windows
This is easier than I thought :D

    1. Download and install TortoiseSVN (for TortoiseCVS users - TortoiseSVN is a lot easier to use than that very very advanced and not user friendly TortoiseCVS)
    2. Right-click on folder that will store checkouts, and click on SVN Checkout
    3. Paste https://svn.sourceforge.net/svnroot/olympus" target="_blank to the "URL of repository" field, and click "OK"

    To update checkout select "SVN Update" from context menu of folder that store old checkout.
phpBB3.PL - User-friendly Polish phpBB 3.0 support
LEW21    
Translator
Translator
 
Posts: 901
Joined: 01 Jun 2006, 03:51
Location: Warsaw, Poland
Gender: Male
phpBB Knowledge: 10

Re: SVN How To Install

Postby Highway of Life » 15 Aug 2006, 22:10

Applications Recommended for Mac OS X

iSVN is a good basic Application. It has great speed, but sacrifices advanced features for it, but it has all the basic features and handling that you would need to more than get the job done.
Cost: Freeware

    Product Requirements:

  • Mac OS X 10.3 or later
  • Subversion Client tools 1.3 or later for Mac OS X
  • Knowledge of Subversion.




SubCommander is a cross platform Win32, Unix and MacOSX Subversion GUI client and a visual text diff/merge tool.
SubCommander has all the features you would need to control every aspect of your Subversion experience, but it can be really really slow, and it has the ease of use equal to that of a Rubix Cube. But it is an essential tool when you need a feature that does not exist in one of the other programs... it has two other enduring features...
Cost: Freeware

    Product Requirements:

  • Subcommander does not depend on a local subversion installation.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: SVN How To Install

Postby Highway of Life » 03 Nov 2006, 05:37

Moved to tips, tricks and tutorials.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10


Return to Tutorials and How-Tos

Who is online

Users browsing this forum: No registered users and 4 guests