go-sample-webpage/Makefile

10 lines
160 B
Makefile
Raw Permalink Normal View History

2021-11-09 12:16:59 +00:00
build:
GOOS=linux CGO_ENABLED=0 GOARCH=amd64 go build -ldflags="-w -s" -o ./webapp
init-dev:
docker-compose up -d
sleep 30
2021-11-09 16:20:18 +00:00
go run ./ migrate
run-dev:
air