Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarifications for end users #35

Open
dbosk opened this issue Jul 1, 2021 · 0 comments
Open

Clarifications for end users #35

dbosk opened this issue Jul 1, 2021 · 0 comments

Comments

@dbosk
Copy link
Owner

dbosk commented Jul 1, 2021

  • What's the format of username ([email protected])?
  • Where to get the token and server URL for Canvas? What format?
  • How to extract the needed spreadsheet from Canvas (if using the LADOK CLI)?
  • Clarify about the environment variables LADOK_USER and LADOK_PASS.
  • Clarify that you always need to use -f if you have uncustom path.
  • Clarify that the -f option always requires the path.

From Sonja:

Draft of end-user instructions:

  1. to install: "pip install ladok3"

  2. to report component LAB1 of course DD1234 with today's date:

  • make a csv file (use tabs as separator) with columns student_id (personnummer), course_code, component_code, grade. You can do this by:
    --"It requires a config.json file with (1) the Canvas url and access token and (2) the user's username and password (for access to Ladok)" what format?
    -- (Note: Add the "-T" flag to run in the Ladok test environment.)
    -- "./ladok3_course_instance_to_spreadsheet.py <canvas_course_id>". For <canvas_course_id> use the number in the URL after https://canvas.kth.se/courses/. This creates the file users_programs-instance-COURSE_INSTANCE.xlsx

  • authenticate yourself: "ladok login" what are the parameters?

  • empty cache to prevent mismatch issues: "ladok cache [...]"

  • report content of the csv file: "ladok report [...]" . If you want it marked as ready, use "ladok report [...] -f"

  • To get LAB1 complete (or other components), use the component name as assignment group and put all necessary assignments to pass in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant