Added code for backend glue
This commit is contained in:
9
backend/Makefile
Normal file
9
backend/Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
build:
|
||||
mkdir -p bin && go build -o bin/mind ./cmd/mind
|
||||
|
||||
run: build
|
||||
DB_DSN="user:pass@tcp(localhost:3306)/mind?parseTime=true" \
|
||||
JWT_SECRET="devsecret" PORT=8080 ./bin/mind
|
||||
|
||||
migrate:
|
||||
go run ./cmd/mind --migrate
|
||||
Reference in New Issue
Block a user