This assignment uses a manual Docker configuration for Gradescope. After modifying this autograder, the Docker image must be built & pushed to Dockerhub.
Run docker
commands in the scatterplot/
directory (note period .
at the end of the command must be typed)
-
docker build -t <tag name> .
e.g.,
docker build -t my_gs .
-
docker tag <image ID> DOCKER_USERNAME/autograder-example:PROJECT_NAME
e.g.,
docker tag 182be490832f cse6242/autograder-example:scatterplot
-
docker push DOCKER_USERNAME/autograder-example:PROJECT_NAME
e.g.,
docker push cse6242/autograder-example:scatterplot
-
In Gradescope under "Manual Docker Configuration" reference the image Docker Image Name:
e.g.,
cse6242/autograder-example:scatterplot
run ./local_run_autograder
- In
scatterplot/submission/
, runpython3 -m http.server 8080 &
- run
run_tests.py
- After testing, run
npx kill-port 8080
data/
containscars.json
copied intosubmission/
folder during grading.lib/
contains alld3
libraries that are copied intosubmission/
folder during gradingutils/
containsselenium
drivers for chrome and firefox for local testing