During the first week of class, graduate students were asked to install Subversion. (Undergrads are welcome to also.)
Now that you are working on your projects, you should put your code under version control. Before attempting this, be sure to read
Here is how you will put your code under version control. (I will pretend you are on Windows. Other OS's are essentially the same, but instead of the command prompt your will work at the bash prompt.)
1. Decide where you want to store your code on your computer (i.e., in which folder). Let us suppose you want it to be
C:\Users\yourusername\econ650\code
Don't create the code folder!
Just change to your class directory: C:\Users\yourusername\econ650
2. Once you have changed to your class directory, give the following command at the command prompt:
3. You should see a checkout of the class repository, creating your working copy as a "code" folder.
Change directory into your new "code" folder.
4. Use Subversion to make a new personal folder using the name you like to be called by the class.
E.g., Kevin would (at the command prompt, while in the "code" folder) give the command
svn mkdir kevin
svn commit -m "creating personal folder"
5. Move your project code into your new personal folder.
This is where you will work on it from now on.
But it is not yet under version to control.
To put it under version control, change to your personal folder,
and then use Subversion to add your .nlogo file, and commit it.
E.g., suppose Kevin's file kevin.nlogo is in his "kevin" folder.
Then he would change to the "kevin" folder and do enter the following at the command prompt:
svn add kevin.nlogo
svn commit kevin.nlogo -m "adding project file"
6. Once you have put your project file under version control, you should follow the UMUTC workflow
described in the reading above. THIS IS VERY IMPORTANT!!!!
7. Note: if you are working in a group, you should make one (1) personal folder for the entire group.
So only one of you will follow the process above. Once you have done so, tell the rest of your
group to update their working copy of the repository. Once they do that, they will see the group's
personal folder appear in their "code" folder.
If you run into any problems getting Subversion up and running, you can discuss it in this thread,
Alan Isaac