Add flask app with auto-reload to render the form template

This commit is contained in:
Benoît Seignovert 2024-02-14 10:02:07 +01:00
parent 433862d0ad
commit 2333ccd168
Signed by: Benoît Seignovert
GPG key ID: F5D8895227D18A0B
12 changed files with 662 additions and 61 deletions

View file

@ -10,7 +10,24 @@ cd glicid-spawner
poetry install
poetry run pre-commit install
```
To activate the virtual environement:
To test the spawner:
```bash
poetry run pytest
```
To lint and format the source code:
```bash
poetry run ruff check . --fix
poetry run ruff format
```
To render the form template (with live reload):
```bash
poetry run python -m render
```
To activate the virtual environement globally:
```bash
source .venv/bin/activate
```