Add spawner form illustration

This commit is contained in:
Benoît Seignovert 2024-02-23 15:44:06 +01:00
parent c56855381e
commit e72460d4c0
Signed by: Benoît Seignovert
GPG key ID: F5D8895227D18A0B
2 changed files with 17 additions and 14 deletions

View file

@ -1,8 +1,23 @@
JupyterHub Batch Spawner for GLiCID
===================================
Setup
-----
![Spawner form](img/spawner_form.png)
JupyterHub config
-----------------
In `jupyterhub_config.py`, add:
```txt
c.JupyterHub.spawner_class = 'glicid-spawner'
```
At the moment, you also need to change the `c.GlicidSpawner.batch_script`.
This will be be included in the future.
Contribution
------------
This package is managed by [Poetry](https://python-poetry.org/):
```bash
git clone https://gitlab.univ-nantes.fr/glicid/jupyter/spawner glicid-spawner
@ -32,18 +47,6 @@ To activate the virtual environement globally:
source .venv/bin/activate
```
JupyterHub config
-----------------
In `jupyterhub_config.py`, add:
```txt
c.JupyterHub.spawner_class = 'glicid-spawner'
```
At the moment, you also need to change the `c.GlicidSpawner.batch_script`.
This will be be included in the future.
External resources
------------------
- https://jupyterhub.readthedocs.io/en/stable/reference/spawners.html

BIN
img/spawner_form.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB