1.2 KiB
1.2 KiB
JupyterHub Batch Spawner for GLiCID
JupyterHub config
In jupyterhub_config.py
, add:
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:
git clone https://gitlab.univ-nantes.fr/glicid/jupyter/spawner glicid-spawner
cd glicid-spawner
poetry install
poetry run pre-commit install
To test the spawner:
poetry run pytest
To lint and format the source code:
poetry run ruff check . --fix
poetry run ruff format
To render the form template (with live reload):
poetry run python -m render [--single-cluster]
To activate the virtual environement globally:
source .venv/bin/activate