nquest/Makefile

15 lines
305 B
Makefile

.PHONY: db
db:
docker run --name nquest-db -e POSTGRES_DB=nquest -e POSTGRES_USER=nquest -e POSTGRES_PASSWORD=nquest -p 5432:5432 -d postgres
.PHONY: generate
generate:
go generate ./...
.PHONY: build-front
build-front:
cd frontend & npm run
.PHONY: dev-front
dev-front:
cd frontend; npm run dev