Checking out NetGore with svn
From NetGore Wiki
| Difficulty | |
|---|---|
| Topics | Engine setup |
| (view all tutorials) | |
This page describes how to check out the latest revision of NetGore from the Subversion (SVN) repository using Windows or Linux based Operating Systems. For details on why you would want to check out from the SVN instead of just using the latest release, see NetGore releases vs repository.
Contents |
For Windows
Installing TortoiseSVN
Download the latest version of TortoiseSVN from: http://tortoisesvn.net/downloads.html
Those who are using a 64-bit version of Windows should grab the 64-bit version of TortoiseSVN. If in doubt or unsure, grab the 32-bit version instead as that will work on both 32-bit and 64-bit versions of Windows.
Follow the installation of TortoiseSVN. It should be straight-forward and not present any trouble.
Checking out
Create a new folder anywhere on your computer to store the copy of NetGore. Any name works, and you can move/rename the folder at any time without any problems.
Now, right-click on the folder you just created and select SVN Checkout.... This will let you checkout, or "download", the latest revision of NetGore from the repository to the folder you selected.
In URL of repository, you will need to enter the path to the NetGore repository. Copy and paste the following address into that text box: http://netgore.googlecode.com/svn/netgore/trunk/
Click OK, and it will start downloading the latest revision.
Updating
After you have finished checking out, you can update at any time. Simply right-click the directory and click SVN Update.
The default behavior is to update the selected file or folder to the latest revision. If you select a file, only that file will be updated. If you select a folder, all files and folders in that folder will be updated. So to update everything, make sure you right-click the root directory (the one you originally did the checkout to).
For Linux based OS's
Installing RapidSVN
The installation of RapidSVN can depend on the distro you are using. There are a lot of pre-built RPM packages for most major distros of Linux, just google to find an appropriate package.
If you are using Debian or Ubuntu You can either use the Synaptic Package Manager, or from terminal type aptitude install rapidsvn, ubuntu users may need to use sudo.
Installing Dependencies
You will also need to install diff and merge tools separately.
The recommended diff and merge tool is KDiff3. You need to download
To install type in a terminal sudo apt-get install kdiff3 .
Configuring RapidSVN
To set preferences click on View->Preferences.
Under the Programs tab the diff, merge, and edit tools, need to be set. Under these tabs point to kdiff3.
Checking out
In the RapidSVN GUI click on Repository->Checkout or use the shortcut key Ctrl+O. Type in the URL of the NetGore repository in the URL box, and browse for a destination directory to store the checked out files. Click OK and the checkout should begin.
Updating
In the RapidSVN GUI click on the bookmark for the NetGore repository in the left hand panel, then click Modify->Update making sure that the Use latest checkbox is ticked to update to the HEAD revision.
