initial planning

This commit is contained in:
2021-06-26 14:08:35 -04:00
parent 84a523f2f8
commit da239cf9ad
18 changed files with 1048 additions and 2 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
.PHONY: up down
GOFILES=$(shell find . -name '*.go' -o -name 'go.*')
STATICFILES=$(shell find . -name '*.js' -o -name '*.css' -o -name '*.html')
SQLFILES=$(shell find . -name '*.sql')
build: server manager
server: $(GOFILES) $(STATICFILES)
go build -o server ./cmd/serve
manager: $(GOFILES) $(SQLFILES)
go build -o manager ./cmd/manage
up:
docker compose up -d
down:
docker compose down