Tuesday, March 3, 2009

Set up a project managed by SVN

Samuel agreed to help me and get into this project, which makes me so happy. For the sake of teaching me conveniently, he set up a project in sourceforge.net, and told me how to use SVN to manage the project. The name of our project is Biological Network COmparison Toolkit(bnct), and weblink is: https://sourceforge.net/projects/bnct/.

Here is how to set up a project locally managed by SVN.

Firstly, download TortoiseSVN and install it. After the installation, it is integrated into the Windows Explorer. Create an empty folder to hold the coming project,for example, D:\Projects\bnct, and enter it.

Secondly, in this folder, right click and select SVN Checkout, then a property window pop out for setting.

Set the URL repository to: https://bnct.svn.sourceforge.net/svnroot/bnct/trunk, leave others default and click OK to make sure. After this, the fold will contain one gray .svn folder and several folder ticked like this:

Fourthly, right click on bnct, tortoiseSVN -> Settings, go to context menu. In the Cascaded context menu, make these options: Checkout.., Update, Commit.. , Diff and Check for modifications... checked then click OK for sure.

Next, go to Diff Viewer in the settings of TortoiseSVN, configure the program used for comparing different revisions of files as the External program. Here we use WinMerge. Set it like this:
After that, click OK.

TortoiseSVN -> Repo-browser, here is the view of the svn repository in sourceforge. You can check the project in sourceforge conveniently.