Extract LMS peer review data for analysis by external applications.
Use Docker compose to run in a local development environment.
-
Copy
config/.env.sample
to.env
in the root directory of the project. Edit the file to replace the values contained therein with valid ones for the test environment. Refer to comments in the file as guides to the appropriate values.cp config/.env.sample .env vim .env
-
Use Docker's
compose
tool to run the application after building it. The application will query the Canvas course(s) specified in.env
and save data from all of the peer-reviewed assignments to the database.docker compose up --build
-
Examine the data in the database, referring to the model diagram below. To connect to the database, make a MySQL or MariaDB connection with the following parameter values, most of which come from
docker-compose.yaml
:- Host:
localhost
(because Docker is running on the local computer) - Port:
5555
(via.services.db.ports
) - Database:
peer-review-data
- Username:
peer-review-data
- Password:
peer-review-data_pw
- Host:
/api/v1/courses/<course_id>
— canvasapi.canvas.Canvas.get_course()/api/v1/courses/<course_id>/assignments/<assignment_id>
— canvasapi.course.Course.get_assignment()/api/v1/courses/<course_id>/rubrics/<rubric_id>
— canvasapi.course.Course.get_rubric()/api/v1/courses/<course_id>/assignments/<assignment_id>/submissions
— canvasapi.assignment.Assignment.get_submissions()/api/v1/courses/<course_id>/search_users
— canvasapi.course.Course.get_users()