Setup¶
Run setup once per course, inside the directory where you want cass.db and cass.toml to live.
cass init asks for:
- Canvas base URL, for example
https://canvas.ucsd.edu. - Course ID, the number in the course URL.
- Credentials. Paste a Canvas API token to save it in
.canvastoken, or skip and use your browser session instead (see Canvas authentication).
It writes cass.toml, including the course time zone that all typed times are read in:
Commit cass.toml if you like. Never commit .canvastoken, .canvascreds, or cass.db; cass init adds them to .gitignore for you if the directory is a git repo.
Then pull your course data: