-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
51 lines (43 loc) · 918 Bytes
/
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
include .env
empty:
echo "empty"
# docker compose
dcb:
docker compose build
dcu:
docker compose up -d bff
dcd:
docker compose down
# enter the container
## bff container
bff-ssh:
docker exec -it $(BFF_CONTAINER_NAME) sh
## content service container
content-ssh:
docker exec -it $(CONTENT_SERVICE_CONTAINER_NAME) sh
## bookmark service container
bookmark-ssh:
docker exec -it $(BOOKMARK_SERVICE_CONTAINER_NAME) sh
## favorite service container
favorite-ssh:
docker exec -it $(FAVORITE_SERVICE_CONTAINER_NAME) sh
# supabase
supabase-start:
supabase start
supabase-stop:
supabase stop
# migration
## make create-migrate-file name=""
create-migrate-file:
supabase migration new ${name}
migrate:
supabase migration up
reset-migrate:
supabase db reset
# generate
## generate proto
# gen-proto:
# $(shell ./scripts/protoc-generate.sh)
# create entity
create-entity:
$(shell ./scripts/create-entity.sh)