mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
571 B
571 B
RomM backend
Commands (cd backend)
uv sync --all-extras --dev # install
uv run main.py # run (migrations auto-apply)
uv run pytest <path/file> # test - affected files only, NEVER the whole suite
uv run pytest -n auto <dir> # same, in parallel; use for directories, not single files
uv run mypy --config-file ../.trunk/configs/mypy.ini . # type-check the whole backend
uv run alembic revision --autogenerate -m "msg" # new migration (then HAND-REVIEW)
uv run alembic upgrade head # apply migrations