go-sample-webpage/Makefile

7 lines
145 B
Makefile
Raw 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
go run ./ migrate