-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
38 lines (29 loc) · 675 Bytes
/
justfile
File metadata and controls
38 lines (29 loc) · 675 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
36
37
38
default:
@just --list
# Install dependencies
install:
uv sync
# Run linters and formatters via pre-commit
lint:
pre-commit run --all-files --verbose
# Run lint + type checking
check: lint
mypy .
# Start the development server
dev:
uv run uvicorn src.main:app --reload
# Start Docker services (PostgreSQL)
up:
docker compose up -d
# Stop Docker services
down:
docker compose down
# Follow Docker logs
logs:
docker compose logs -f
# Apply all pending migrations
migrate:
uv run alembic upgrade head
# Create a new migration: just migration "add accounts table"
migration msg:
uv run alembic revision --autogenerate -m "{{msg}}"