Skip to main content

Setup & Handin Instructions

Set up instructions

Set up directly

  1. In each lab and assignment handout, we will provide a link to a Github Repo containing the stencil code. For example, stencil code for Lab1 .
  2. Click the link, then click the Clone or Download button and click Download Zip in the popup. how to download zip
  3. Start developing in the uncompressed zip folder.

Set up with Git

This section assumes familiarity with Git and Github. For guidance, you can

  1. Create a private repo using the plus button on the top right corner. how to download zip
  2. Open Terminal and run the following commands
    1. $ git clone --bare https://github.com/brown-cs1320/assignment or lab name.git

      This commands will clone a barebone copy from our repo.

    2. $ cd assignment or lab name.git

      Going inside the repo you just cloned

    3. $ git push --mirror https://github.com/your user name/your new private repository.git

      This command will push everything from our repo to your newly created repo. Think it as a migration command.

    4. Remove the temporary repo https://github.com/brown-cs1320/assignment or lab name.git

      Simply put your cloned repo to Trash. The contents of cloned repo has already been pushed to your newly-created repo.

    5. Clone the newly created private repo https://github.com/your user name/your new private repository.git

      Go to your newly-created private repo in Github. Clone it as a normal repo.

    6. Start developing in your cloned new-created private repo folder.
  3. For lab, go to Settings tab and Collaborators part to add your team mates so that they can push changes to your code.
  4. Remember to push your changes so that your Gradescope submission has your most up-to-date files!

Hand in instructions

Hand in for labs

  1. Log into Gradescope.
  2. Make sure you are anonymized. If you have trouble making yourself anonymized, send an email to HTAs with your anonymous ID and we can change it for you!
  3. Go to CSCI 1320 and then click on the correct lab or assignment.
  4. On the popup saying Submit Programming Assignment , you can either
    • Choose Upload and upload all your files.
    • Choose Github as submission method.
      1. select your private repo for the lab
      2. select the correct branch (if you have not created any branches, select master)
      3. click upload when it is ready
      4. Also if you made changes to your repo after submitting, Gradescope does not automatically track the newest changes and you have to manually resubmit the repo following the same procedure.

      gradescope handin submission popup
  5. For lab, click Add Group Member on the right panel or Group Members in the bottom footer and them Add Member to add other students in your lab team. Only one student in a lab team need to submit, but all members should be added.
  6. You can click Code to see the submitted files and you are free to resubmit using Resubmit any number of times before the deadline.