-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
53 lines (40 loc) · 1.01 KB
/
makefile
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
# dev
dev:
npm run dev
dev-https:
npm run dev:https
prod-start:
npm run build && npm run start
# docker
up-build:
# docker-compose --env-file .env.local up -d --build
docker-compose --env-file .env up -d --build
up:
# docker-compose --env-file .env.local up -d
docker-compose --env-file .env up -d
down:
# docker-compose --env-file .env.local down
docker-compose --env-file .env down
shadcn-add:
npx shadcn-ui@latest add
prisma-generate:
npm run prisma:generate
prisma-migrate:
npm run prisma:migrate
npm run prisma:generate
prisma-studio:
npm run prisma:studio
# storyblok
# sb-generate-types:
# npm run storyblok:generate-types
# # Supabase
# generate-supatypes:
# npm run supabase:generate-types
# .PHONY: supabase-migrate
# # Define the supabase-migrate target with a parameter check
# supabase-migrate:
# ifndef name
# $(error name is not defined. Usage: make supabase-migrate name=migration_name_here)
# endif
# @echo "Running migration with name: $(name)"
# supabase db diff --use-migra -f $(name)