Using Classroom for Github

As you have seen last week we will be using Classroom for GitHub for the exercises in the course. Here, we’ll give you a sense of how Classroom for GitHub works and what you need to do to accept your assignments.

Classroom for GitHub

Classroom for GitHub is basically an application that helps you make private copies of an assignment that you can modify and submit as your answers for the exercises. We will create a template repository for each assignment, and GitHub classroom takes care of the student copies. The exercise repositories normally include the following:

  • A basic description of the assignment

  • A list of problems for you to solve/answer

  • “Starter” Jupyter notebook or Python code that you need to modify for the assignment

  • Data files to use with the code

You can find the GitHub classroom link for each exercise on these web pages in the Start your assignment -info box on the exercise pages.

../../_images/start-assignment.png

When you click the GitHub classroom link, you will be taken to a web page where you can accept the assignment.

Note

Note that the first time you accept an assignment you will need to authorize the application on Github. This will not work if you have not verified your email address for your Github account.

Creating an exercise repository using GitHub Classroom

Creating an exercise repository using GitHub Classroom

When you accept the assignment a copy of it will be made in your personal GitHub repositories (a repository on Github is basically like a folder for a given assignment/project), and you will be asked to make changes to the Python code and main document for each assignment.