core/README.md
Untone 31bd421e22
All checks were successful
Deploy on push / deploy (push) Successful in 5s
merged-hub
2024-11-01 15:06:21 +03:00

30 lines
552 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# discoursio-api
## Техстек
- sqlalchemy
- redis
- ariadne
- starlette
- granian
## Локальная разработка
Запустите API-сервер с ключом `dev`:
```shell
mkdir .venv
python3.12 -m venv .venv
poetry env use .venv/bin/python3.12
poetry update
poetry run server.py dev
```
### Полезные команды
```shell
poetry run ruff check . --fix --select I # линтер и сортировка импортов
poetry run ruff format . --line-length=120 # форматирование кода
```