I am working a Jupiter Notebook/ Lab (via JupyterHub) integration into an other application.
The goal is to allow users to create a Jupyter Notebook/ Lab server from the application (using the JupyterHub API) and therefore extend the applications capabilities with the power of python.
As far as I know this would be possible by implementing a custom Authenticator that integrates the applications login system and create the servers using the JupyterHub API.
A nice feature would be to give multiple users of the application access to the same Jupyter Notebook/ Lab (server). However, I cannot find a way to share servers across users or mange permissions to servers.
There is a Groups feature in JupyterHub, but it is very poorly documented... and I don't really understand what it is doing.
I would be grateful for any help, whether this is (at all) possible with JupyterHub?
You need to generate the JuputerHub configuration file, using jupyterhub --generate-config -f /etc/jupyterhub/jupyterhub_conf.py. Then edit that config file to include the line: c.Spawner.notebook_dir=/path/to/common/directory. You will need to configure other things also to make it work properly.
Run the JupyterHub with: jupyterhub -f /etc/jupyterhub/jupyterhub_conf.py &, or better, as a service.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With