nginx + docker + jupyterlab setup #1860
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
I have worked out. Nbgrader is great. No need to change code. Just do some settings in nbgrader_config.py as the following: ··· c.CourseDirectory.course_id = f'{course}' if is_instructor: c.Exchange.root = "/root/exchange" used by instructorc.CourseDirectory.root=f"/home/{user}/notebooks/assignments" used by studentsc.Exchange.assignment_dir = f'/home/{user}/notebooks/assignments' c.IncludeHeaderFooter.header = "/root/exchange/header.ipynb" URL to the database. Defaults to sqlite:////gradebook.db, whereis another configurable variable.Default: ''c.CourseDirectory.db_url = 'sqlite:////root/exchange/gradebook.db' then pass all envars when launch container. |
Beta Was this translation helpful? Give feedback.
-
We've run a service for almost 3 quaters using this arch:
I know this may be very similiar with jupyterhub. We used to try jupyterhub, but failed due to our limited knowledge to jupyterhub (may due to firewall limitations due to our host machine?)
I tried the following steps to integrate with nbgrader:
so far, I can get nbgrade run at teacher's side. and the student side can know there's assignment, but can NOT actually download them to his own assignments folder.
the link is of problem 1 is clickable, but nothing will happen, and the assignment folder is still empty after "fetch"/"clicking on problem1".
but this seems to work if the student use command 'nbgrade fetch_assignment ps1".
question:
I know maybe I should launch student's container through different users, but the configuration is a little bit complicated to me, so I'm just wondering, is it possible without running container with different user (besides, I don't want to add each student as the host's user, and I don't care too much if they can see each other's assignments), I can still let student download the assignments?
why the command line tools can work but GUI failed? Any clue to find out?
Beta Was this translation helpful? Give feedback.
All reactions