mirror of
https://github.com/markbeep/AudioBookRequest.git
synced 2026-01-15 10:20:37 -06:00
* update migrations to support postgres * fix uv lockfile * adjust migrations for psql * remove action on pr (push only) * remove pragmas for psql * update readme
28 lines
522 B
Makefile
28 lines
522 B
Makefile
# https://just.systems
|
|
|
|
alias d := dev
|
|
alias m := migrate
|
|
alias cr := create_revision
|
|
alias tw := tailwind
|
|
|
|
migrate:
|
|
uv run alembic upgrade heads
|
|
|
|
create_revision *MESSAGE:
|
|
uv run alembic revision --autogenerate -m "{{MESSAGE}}"
|
|
|
|
dev: migrate
|
|
uv run fastapi dev
|
|
|
|
node_modules:
|
|
npm install
|
|
|
|
tailwind: node_modules
|
|
npx @tailwindcss/cli@4 -i static/tw.css -o static/globals.css --watch
|
|
|
|
types:
|
|
uv run pyright app
|
|
uv run djlint templates
|
|
uv run ruff format --check app
|
|
uv run alembic check
|