I've had enough of zipping my project for backup before editing it. I mean it works fine for personal development, but for team projects it is time for a versioning system. That means either using CVS (Control Versioning System) or SVN (Subversion), since VSS (Visual Source Safe) would be too expensive.
First you need the download and install subversion: http://subversion.tigris.org/
Next you need to create the repository. Suppose you've created your svn directory. Fire up the command prompt and navigate there. create the "MyProject" repository:
svnadmin create MyProject
Next, recognize the recommended standard structures:
svn/MyProject
svn/MyProject/trunk
svn/MyProject/branches
svn/MyProject/tags
Next, place the trunk directory in hte MyProject directory and the .NET actual Website directory in the trunk:
svn/MyProject/trunk/MyWebsite
Next, checkout the project:
svn checkout "file:///c:/documents and settings/user/svn/MyProject"
Next, add the trunk, branches, and tags folders to the MyProject repository:
cd MyProject
svn mkdir trunk
svn mkdir branches
svn update
svn add tags
Next, commit the updates to in effect check-in the project:
svn commit -m "initial project setup"
References:
http://www.germane-software.com/~ser/R_n_R/subversion.html
http://www.onlamp.com/pub/a/bsd/2005/08/11/FreeBSD_Basics.html?page=2
http://svnbook.red-bean.com/
Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.
Friday, July 25, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment