|
|
1 周之前 | |
|---|---|---|
| .idea | 1 周之前 | |
| .vscode | 3 年之前 | |
| alembic | 1 周之前 | |
| app | 1 周之前 | |
| script | 10 月之前 | |
| .env.example | 10 月之前 | |
| .flake8 | 3 年之前 | |
| .gitignore | 2 年之前 | |
| Dockerfile | 3 年之前 | |
| Readme.md | 1 周之前 | |
| alembic.ini | 2 年之前 | |
| bdlg2023.conf | 2 年之前 | |
| docker-compose.dev.yml | 3 年之前 | |
| docker-compose.yml | 3 年之前 | |
| init.sh | 3 年之前 | |
| poetry.lock | 1 周之前 | |
| pyproject.toml | 1 周之前 | |
| requirements-dev.txt | 1 周之前 | |
| requirements.txt | 1 周之前 | |
| update_password.py | 10 月之前 |
This repository host an API that can parse gsheet planning for brass dans la garonne event and manage creating automatic SMS notification for volunteer.
For running the application
git clone ...
cd ...
python -m venv venv
venv/scripts/activate
poetry install
Note, be sure to use python3.11 with this application
init.sh
uvicorn app.main:app --reload
python -m app.debug
Run tests
pytest
pytest app\test\test_volunteer.py
Run coverage tests
coverage run -m pytest
coverage html
poetry lock
poetry export -f requirements.txt --output requirements.txt --without-hashes
oetry export -f requirements.txt --output requirements-dev.txt --without-hashes --with dev
FastAPI project generated using https://github.com/rafsaf/minimal-fastapi-postgres-template