|
|
преди 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