-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
37 lines (36 loc) · 704 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
install:
chmod +x install.sh
sudo ./install.sh
go mod tidy
go mod download
tailwindcss:
tailwindcss -i web/css/input.css -o web/dist/output.css -m
build:
make tgen
make tailwindcss
go run ./cmd/tracker/main.go
go build -gcflags "all=-N -l" -o ./tmp/guigoes ./cmd/server/
run:
make index
make track
make tailwindcss
air
tgen:
templ generate
deploy:
make index
make track
cd ./deployments/cdk; \
cdk deploy
synth:
make index
make track
cd ./deployments/cdk; \
cdk synth
index:
go run ./cmd/indexer/main.go
track:
go run ./cmd/tracker/main.go
rundocker:
docker build -t guigoes:latest .
docker run --platform linux/amd64 -p 8080:8080 --env-file .docker.env --rm -it guigoes:latest