backup: pre-hardening baseline
This commit is contained in:
commit
9e4c612dcb
57 changed files with 10393 additions and 0 deletions
25
Makefile
Normal file
25
Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
.PHONY: backend frontend build dev clean
|
||||
|
||||
backend-deps:
|
||||
cd backend && go mod tidy
|
||||
|
||||
frontend-deps:
|
||||
cd frontend && npm install
|
||||
|
||||
backend:
|
||||
cd backend && go build -o ../bin/traefik-gui ./cmd/traefik-gui
|
||||
|
||||
frontend:
|
||||
cd frontend && npm run build
|
||||
|
||||
build: backend frontend
|
||||
@echo "Build complete"
|
||||
|
||||
dev-backend:
|
||||
cd backend && go run ./cmd/traefik-gui --dev --session-secret dev-secret-change-in-production-min-32-chars --addr :8080
|
||||
|
||||
dev-frontend:
|
||||
cd frontend && npm run dev
|
||||
|
||||
clean:
|
||||
rm -rf bin/ frontend/dist/ data/*.db
|
||||
Loading…
Add table
Add a link
Reference in a new issue