Session 4 complete - RedFlag update management platform
🚩 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
This commit is contained in:
34
Makefile
Normal file
34
Makefile
Normal file
@@ -0,0 +1,34 @@
|
||||
.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 ./...
|
||||
Reference in New Issue
Block a user