Add spawner form illustration
This commit is contained in:
parent
c56855381e
commit
e72460d4c0
2 changed files with 17 additions and 14 deletions
31
README.md
31
README.md
|
@ -1,8 +1,23 @@
|
||||||
JupyterHub Batch Spawner for GLiCID
|
JupyterHub Batch Spawner for GLiCID
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
Setup
|

|
||||||
-----
|
|
||||||
|
|
||||||
|
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/):
|
This package is managed by [Poetry](https://python-poetry.org/):
|
||||||
```bash
|
```bash
|
||||||
git clone https://gitlab.univ-nantes.fr/glicid/jupyter/spawner glicid-spawner
|
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
|
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
|
External resources
|
||||||
------------------
|
------------------
|
||||||
- https://jupyterhub.readthedocs.io/en/stable/reference/spawners.html
|
- https://jupyterhub.readthedocs.io/en/stable/reference/spawners.html
|
||||||
|
|
BIN
img/spawner_form.png
Normal file
BIN
img/spawner_form.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
Loading…
Add table
Reference in a new issue