Skip to content

DryCreations/grading-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grading CLI

deno run --unstable --no-check mod.js

This will create and modify files in ./tmp/

To compile an executable binary that can be run anywhere:

deno compile --unstable --no-check --location http://localhost --output ./tmp/grading mod.js --client={GITHUB_CLIENT_ID}

I suggest using gvisor to create sandboxed environments for grading, this will set up a container ready to run the grading program.

docker build -t grading .
docker run --runtime=runsc --rm -it grading
deno run -A --unstable --no-check mod.js

the /data/ folder is optional and should contain any rosters and grades exports from github classroom you plan on using during the grading process.