- Go 1.21 or later
- Git (optional)
# Navigate to project directory
cd c:/Users/ayana/Projects/Helios
# Download dependencies
go mod tidy
# Build all binaries
make build
# Or build individually:
go build -o bin/helios-atlasd.exe ./cmd/helios-atlasd
go build -o bin/helios-gateway.exe ./cmd/helios-gateway
go build -o bin/helios-proxy.exe ./cmd/helios-proxy
go build -o bin/helios-worker.exe ./cmd/helios-worker./bin/helios-atlasd.exe --data-dir=./data --listen=:6379Expected output:
{"timestamp":"2026-01-29T...","level":"INFO","component":"atlasd","message":"Starting ATLAS daemon"}
{"timestamp":"2026-01-29T...","level":"INFO","component":"atlasd","message":"ATLAS instance created successfully"}
ATLAS server listening on :6379
{"timestamp":"2026-01-29T...","level":"INFO","component":"atlasd","message":"ATLAS daemon is running"}./bin/helios-gateway.exe --listen=:8443 --data-dir=./dataExpected output:
{"timestamp":"2026-01-29T...","level":"INFO","component":"gateway","message":"Starting API Gateway"}
{"timestamp":"2026-01-29T...","level":"INFO","component":"gateway","message":"API Gateway is running"}
API Gateway listening on :8443./bin/helios-proxy.exe --listen=:8080./bin/helios-worker.exe --worker-id=worker-1 --poll-interval=5s# All tests
go test ./...
# With coverage
go test -cover ./...
# Verbose output
go test -v ./...
# Specific package
go test -v ./internal/atlas/store/
go test -v ./internal/atlas/protocol/Connect using netcat or telnet:
# Using echo and netcat (if available)
echo '{"cmd":"SET","key":"test","value":"hello","ttl":0}' | nc localhost 6379
echo '{"cmd":"GET","key":"test"}' | nc localhost 6379# Register a user
curl -X POST http://localhost:8443/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"username":"testuser","password":"testpass123"}'
# Login
curl -X POST http://localhost:8443/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"testuser","password":"testpass123"}'
# Use the returned token for authenticated requests
TOKEN="your-token-here"
# Enqueue a job
curl -X POST http://localhost:8443/api/v1/jobs \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"payload":{"task":"process","data":"test"}}'Edit configs/default.yaml to customize settings:
atlas:
data_dir: "/var/lib/helios"
aof_fsync: "every" # Options: every, interval, none
gateway:
listen: ":8443"
rate_limit:
default_capacity: 100
default_rate_num: 1
default_rate_den: 1# Change the port in the command
./bin/helios-gateway.exe --listen=:8444
# Or stop the conflicting service
netstat -ano | findstr :8443
taskkill /PID <pid> /F# Ensure the data directory exists and is writable
mkdir -p ./data# Re-download dependencies
go mod tidy# ATLAS daemon
make dev-atlas
# API Gateway
make dev-gateway
# Worker
make dev-workermake fmtmake cleandocker build -t helios/gateway:latest .docker-compose up -dCheck that everything is working:
# Check binaries exist
ls -lh bin/
# Verify no compilation errors
go build ./...
# Run tests
go test ./...
# Check for any remaining errors
go vet ./...- Read the Architecture Documentation
- Explore the API endpoints in the code
- Customize configuration for your use case
- Add your own endpoints and handlers
- Deploy to your environment
- Check TEST_REPORT.md for detailed test results
- Read README.md for complete documentation
- Review docs/architecture.md for system design
- All binaries compile without errors
- Tests pass with 82%+ coverage
- Services start and log successfully
- No compilation or import errors
Your HELIOS framework is ready to use!