Brijesh's Git Server — watchman @ main

observability tool, needs to be rewritten once identity is stable

Makefile (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
.PHONY: db-schema run-server run-frontend

db-schema:
	if [ -f schema/schema.sql ]; then rm schema/schema.sql; fi;
	sqlite3 watchman.db .schema > schema/schema.sql;

run-server:
	go mod tidy
	go run main.go

run-frontend:
	cd frontend && git pull origin master
	bun run dev

build: 
	go build -o watchman main.go