Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.95 KB

README_ALT.md

File metadata and controls

39 lines (27 loc) · 1.95 KB

Grading Script for GCIS

  1. Download the script

    • Extract it and keep it somewhere easy to access
  2. Install the requirements by typing pip install -r requirements.txt

    • Alternatively, pip install PyGithub or py -m pip install PyGithub on powershell
    • Mac users might have to use python3 -m pip install PyGithub
  3. Navigate to the Personal Access Tokens

    • Generate a new token and grant access to these scopes:
      image

    • IMPORTANT Save the personal access token somewhere (preferably on a notepad)

  4. Keep note of these:

    • Find the github organization for your section

    • Go to github classroom

      • Go to the section you're grading (not individual assignments) and click Students
      • Download the classroom_roster.csv and move it somewhere where you will find it
      • Remove the students (entire row) that you don't want to clone from the csv file
  5. Run cloneRepos.bat from the GradingScripts

    • Paste the personal access token
    • Type the github organization that you found (exactly how it is named, case not sensitive)
    • Enter the directory/full path (as well as the filename) that the classroom_roster.csv is in
    • Enter the full path (ideally) of where you want the assignments to be stored

Now you’re ready to grade!

How to use cloneRepos.bat after setup

  1. Keep note of the assignment link that you want to clone
  2. Follow the instructions regarding the date & time due

NOTE: the time is assumed in your local timezone. So an assignment that's due at @ 2:00 PM EST would be 14:00 in 24hr format.