Collecting Assignments

  1. DO THIS FOR FIRST ASSIGNMENT ONLY
    1. Navigate to the classroom on classroom.github.com, go to the “Students” tab and click “Download” to download the student roster. Place it as “roster.csv” (might need to change the file’s name) into your local <course-name> directory
    2. Add your GitHub ssh key to the ssh-agent and store the passphrase following the instructions at https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent. This is used to authenticate with GitHub when cloning the repos back to your computer
  2. After assignment deadline, run the following script from the <course-name> directory to collect all submissions. This first clones all student assignment GitHub repos into the clone_dir directory (specified in config.yml).  It then copies all files into the <nbgrader_dir>/submitted directory (where it needs to be located to run the nbgrader autograder)
    1. $ abc-clone <assignment name-as-shown-in-student-repos> Note: the assignment name used for the student repos created by GitHub Classroom may be different than the originally created assignment name so be sure to check the name used in the students’ repos

 

Next: Grading and returning assignments