As announced here (in French):
- Fetches student-submitted URLs from Google Classroom
- Downloads HTML+CSS+JS code from Codepen/jsbin/jsfiddle URLs
- Renders one PDF file per student, containing their code, for annotation
🇫🇷 Enseignants francophones, si vous voulez corriger le code de vos étudiants de manière plus efficace, inscrivez-vous à ma liste de diffusion: adrienjoly.com/eval.
Watch the short video: How to evaluate students' code by hand, and without paper - YouTube
node
: This requires Node 0.12.x or greater.
Before running, don't forget to:
- create an app and web client auth on Google's Developer Console;
- and set the corresponding environment variables:
GCLA_CLIENT_ID
,GCLA_CLIENT_SECRET
andGCLA_REDIRECT_URL
- run
npm run list
to list the course and courseworks associated to your google account (requires login or valid session) - populate the
courseId
andassignmentId
of your classroom(s) ingroups.json
All npm scripts that can be used are listed in the package.json
file.
$ npm test # => tests the Google API