Thanks for your interest in contributing to the Zero Trust Agent Demo!
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/zero-trust-agent-demo.git cd zero-trust-agent-demo - Build and run locally:
make build ./scripts/run-local.sh
zero-trust-agent-demo/
├── pkg/ # Shared packages
├── web-dashboard/ # Dashboard service (:8080)
├── user-service/ # User management (:8080)
├── agent-service/ # Agent management (:8080)
├── document-service/ # Document access (:8080)
├── opa-service/ # Policy evaluation (:8080)
├── deploy/ # Kubernetes manifests
└── scripts/ # Helper scripts
make build # Build all services
make clean # Clean build artifacts
make test # Run tests./scripts/run-local.sh # Start all services
tail -f tmp/logs/*.log # Watch logs (separate terminal)# Create Kind cluster
./scripts/setup-kind.sh
# Build and load local images
make docker-build
make docker-load
# Deploy with local images
kubectl apply -f deploy/k8s/namespace.yaml
kubectl apply -f deploy/k8s/opa-policies-configmap.yaml
kubectl apply -f deploy/k8s/deployments-local.yaml
# Open dashboard
open http://localhost:8080./scripts/setup-kind.sh
kubectl apply -f deploy/k8s/- Create a feature branch:
git checkout -b my-feature - Make your changes
- Test locally with
make build && ./scripts/run-local.sh - Commit with a clear message
- Push and open a Pull Request
- Go code follows standard
gofmtformatting - Keep commits focused and atomic
- Write clear commit messages
Open an issue if you have questions or run into problems.