1. Install your virtual machine (VM)

Please, follow the instructions given here.

2. Create an accout in GitHub

GitHub is a very popular service that programmers use to store their code and collaborate on projects. We will use it for this class for pretty much the same things. You can easily back up your code in GitHub and retrieve it back, whether you are using your laptop or a lab machine.

Please, follow the instructions given here.

3. Set up the programming environment (in your VM or in a lab machine)

Please, follow the instructions given here.

4. Install the submit script (VM only)

The CS department submit server is a website created by CDR (ret) Jeff Kenney at USNA. We will use it to handle submissions of your programming projects, and to run auto-tests so that you can see how well your code is working.
  1. In your VM, open a web-browser. Go to the submit server. The URL for the submit system is https://submit.cs.usna.edu.
  2. Click the little person icon at the top left, and go to "Log On".
  3. In the submit server page, choose the menu, "Retrieve Personalized Scripts" under your name. There is a big button saying "DOWNLOAD PERSONALIZED SUBMISSION SCRIPT". Click it. Then, your submission script will be downloaded (probably into Downloads directory).
  4. Open a terminal by typing Ctrl-Alt-T in your VM. Execute the following commands in the terminal one by one.
    mv ~/Downloads/submit ~/bin/submit
    chmod 700 ~/bin/submit
    The commands will move the submit file in ~/bin directory and then change the permission of the file to become executable.