🚩 Private development - version retention only ✅ Complete web dashboard (React + TypeScript + TailwindCSS) ✅ Production-ready server backend (Go + Gin + PostgreSQL) ✅ Linux agent with APT + Docker scanning + local CLI tools ✅ JWT authentication and REST API ✅ Update discovery and approval workflow 🚧 Status: Alpha software - active development 📦 Purpose: Version retention during development ⚠️ Not for public use or deployment
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
.PHONY: help db-up db-down server agent clean
|
|
|
|
help: ## Show this help message
|
|
@echo 'Usage: make [target]'
|
|
@echo ''
|
|
@echo 'Available targets:'
|
|
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-15s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
|
|
|
db-up: ## Start PostgreSQL database
|
|
docker-compose up -d aggregator-db
|
|
@echo "Waiting for database to be ready..."
|
|
@sleep 3
|
|
|
|
db-down: ## Stop PostgreSQL database
|
|
docker-compose down
|
|
|
|
server: ## Build and run the server
|
|
cd aggregator-server && go mod tidy && go run cmd/server/main.go
|
|
|
|
agent: ## Build and run the agent
|
|
cd aggregator-agent && go mod tidy && go run cmd/agent/main.go
|
|
|
|
build-server: ## Build server binary
|
|
cd aggregator-server && go build -o bin/aggregator-server cmd/server/main.go
|
|
|
|
build-agent: ## Build agent binary
|
|
cd aggregator-agent && go build -o bin/aggregator-agent cmd/agent/main.go
|
|
|
|
clean: ## Clean build artifacts
|
|
rm -rf aggregator-server/bin aggregator-agent/bin
|
|
|
|
test: ## Run tests
|
|
cd aggregator-server && go test ./...
|
|
cd aggregator-agent && go test ./...
|