Closed firasm closed 4 years ago
To run this code, here's what I did. Perhaps this could make its way into the readme if this is how the package is meant to be used?
For e.g., the course id is 45445 if the course URL is https://canvas.ubc.ca/courses/45445
Login to Canvas, click "Account", click "Settings", scroll down and click "New Access Token"
pip install git+https://github.com/maracieco/md2canvas
git clone https://github.com/maracieco/md2canvas.git
cd md2canvas
pip install -r requirements.txt
md2canvas -t <RedactedCanvasToken> -c 45445 -u https://canvas.ubc.ca ~/Sync/Teaching/utilities/md2canvas/examples/sample_quiz/SampleQuiz.md
On another note, in the documentation, the file referenced is simpleQuiz.md but it should probably be:
simpleQuiz.md
md2canvas ./examples/sample_quiz/SampleQuiz.md
Thank you, this is perfect. I will add it when I have time!
@firasm I made a PR to add your instructions! #13
To run this code, here's what I did. Perhaps this could make its way into the readme if this is how the package is meant to be used?
Usage
For e.g., the course id is 45445 if the course URL is https://canvas.ubc.ca/courses/45445
Login to Canvas, click "Account", click "Settings", scroll down and click "New Access Token"
pip install git+https://github.com/maracieco/md2canvas
git clone https://github.com/maracieco/md2canvas.git
cd md2canvas
pip install -r requirements.txt
On another note, in the documentation, the file referenced is
simpleQuiz.md
but it should probably be:md2canvas ./examples/sample_quiz/SampleQuiz.md