-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
56 lines (42 loc) · 871 Bytes
/
Justfile
File metadata and controls
56 lines (42 loc) · 871 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# List available recipes
default:
@just --list
# --- Development ---
# Run Next.js development server
dev:
npm run dev
# Run video render worker
worker-render:
npm run worker:render
# Run AI generation worker
worker-ai:
npm run worker:ai
# Run all workers concurrently
workers:
bash scripts/workers.sh
# Start infrastructure (Docker)
infra-up:
docker-compose up -d
@echo "Infrastructure started!"
# Stop infrastructure
infra-down:
docker-compose down
@echo "Infrastructure stopped."
# View infrastructure logs
infra-logs:
docker-compose logs -f
# --- Database ---
# Reset database (careful!)
db-reset:
npx prisma migrate reset
# Open Prisma Studio
db-studio:
npx prisma studio
# --- Setup ---
# Install dependencies
install:
npm install
# Check types and lint
check:
npm run lint
npx tsc --noEmit