-
Notifications
You must be signed in to change notification settings - Fork 321
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
How to install nbgrader when using jupyterhub with DockerSpawner? #1887
Comments
Here are some docs you'll hopefully find helpful: |
I hava a similar setup and that also confused me a lot, thanks @shreve for clarification. But I am still not clear about "Both servers will need an nbgrader_config.py file". Who will read nbgrader_config.py file if I didn't install nbgrader in Jupyterhub docker images? In my case I try to install ngshare in Jupyterhub container, ngshare_exchange and nbgrader in JupyterLab based images, but when I fetch course from Jupyterlab menu, logs showed: Formgrader not available at URL: https://hub.***.***/service. |
[side-note: I find it confusing when people mix up jupyterhub and jupyterlab [aka jupyter notebook] Each notebook-server docker image [the thing that provides the jupyter UI for the user to interact with] will need to have nbgrader installed & configured. There will be some configuration involved to tell the nbgrader how to exchange files [be it volume mounts, ngshare, or nbexchange] Depending on how jupyterhub/dockerspawner configures and launches notebook-server docker images, there may well be a base configuration [baked into the image] and a dynamic one [added at launch time] In the case of ngshare, it also requires jupyterhub to be configured to interact with ngshare |
Operating system
CentOS 7.9
nbgrader --version
0.9.2
jupyterhub --version
(if used with JupyterHub)5.0.0
jupyter notebook --version
7.2.0
Expected behavior
Install nbgrader for JupyterHub with DockerSpawner (Docker image is JupyterLab)
Actual behavior
Don't know how to install it.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: