Skip to content

Data Collection Flow

HALLOWEEN edited this page Oct 5, 2022 · 11 revisions

Production

  1. requisites

    • download Heroku CLI
    • login to Heroku by running heroku login from project repository
  2. add initial data w/o quizzes & attempts & student acc: heroku run python main.py initial-data --no-quizzes=1 --secure-first-users=1 --app inquizitor-prod

    • NOTE: this resets the database and should only be ran once
  3. add mock exam: heroku run python main.py add-exam mock-exam.txt --has-attempts=0 --blanks-case-sensitive=0 --app inquizitor-prod

  4. create accounts from exported responses file:

    • clone this repository
    • add respondents.csv file to inquizitor\data
    • run python main.py create-accounts inquizitor\data\respondents.csv

Quick Testing

initial data w/o attempts: heroku run python main.py initial-data --use-realistic-data=1 --has-attempts=0 --app inquizitor-test

mock exam: heroku run python main.py add-exam mock-exam.txt --has-attempts=0 --blanks-case-sensitive=0 --app inquizitor-test

accounts: python main.py create-accounts team.csv inquizitor-test

test case:

  • parallel/ concurrent quiz answering
  • web app check up
Clone this wiki locally