-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathjustfile
More file actions
35 lines (26 loc) · 861 Bytes
/
justfile
File metadata and controls
35 lines (26 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# https://just.systems
alias d := dev
alias m := migrate
alias cr := create_revision
alias tw := tailwind
dev: migrate
uv run fastapi dev
migrate:
uv run alembic upgrade heads
create_revision *MESSAGE:
uv run alembic revision --autogenerate -m "{{ MESSAGE }}"
install_daisy:
curl -sLo static/daisyui.mjs https://github.com/saadeghi/daisyui/releases/latest/download/daisyui.mjs
curl -sLo static/daisyui-theme.mjs https://github.com/saadeghi/daisyui/releases/latest/download/daisyui-theme.mjs
tailwind:
tailwindcss -i static/tw.css -o static/globals.css --watch
# update all uv packages
upgrade:
uvx uv-upgrade
format_html:
uv run djlint templates --extension=jinja --reformat
types:
uv run basedpyright
uv run djlint templates --extension=jinja --check
uv run ruff format --check app
uv run alembic check