mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
476 B
476 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 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