openmrsinfra/quizgrader

By openmrsinfra

Updated about 1 month ago

OpenMRS /dev/1 Quiz Grader

Image
Integration & delivery
0

10K+

openmrsinfra/quizgrader repository overview

OpenMRS Quiz Grader

Node app that grades /dev/1 quizes. SurveyMonkey responses are copied into a Google Spreadsheet via a Zapier zap and then this grader is pinged.

The grader scans the Google Spreadsheet for any entries that have not been graded and grades them. The respondent is notified whether or not she passed. If she passed, the respondent is granted a badge on OpenMRS Talk.

Setup

  • Establish a service account with Google API with sheets API privileges.
  • Get an API key to Discourse (e.g., we use openmrsbot account)

Check out the repository:

$ git clone https://github.com/bmamlin/openmrs-contrib-quizgrader
$ cd openmrs-contrib-quizgrader/app
$ cp docker-compose-dev_example.yml docker-compose-dev.yml
# edit docker-compose-dev.yml file and add all the necessary values
$ docker-compose build
$ docker-compose -f docker-compose.yml -f docker-compose-dev.yml up

Configuration:

Edit the settings in docker-compose.yml as needed. The key from Google Sheets API (JSON format) and API key and user for Discourse must be set for things to work properly.

Running the grader

$ docker-compose up -d

Tag summary

Content type

Image

Digest

sha256:4608a1115

Size

101.4 MB

Last updated

about 1 month ago

docker pull openmrsinfra/quizgrader