# Quick Start Guide Get the Provisioning API Server running in 5 minutes. ## Prerequisites - Rust 1.75+ and Cargo - OR Docker ## Option 1: Run with Cargo (Development) ### 1. Set Environment Variables ```bash export JWT_SECRET="change-me-in-production" export PROVISIONING_CLI_PATH="/usr/local/bin/provisioning" export LOG_LEVEL="info" ``` ### 2. Build and Run ```bash cd provisioning/platform/provisioning-server cargo run --release ``` ### 3. Verify Server is Running ```bash curl http://localhost:8083/health ``` Expected response: ```json { "status": "healthy", "version": "0.1.0", "uptime_seconds": 5 } ``` ## Option 2: Run with Docker ### 1. Build Image ```bash docker build -t provisioning-server . ``` ### 2. Run Container ```bash docker run -d \ --name provisioning-server \ -p 8083:8083 \ -e JWT_SECRET="change-me-in-production" \ -e PROVISIONING_CLI_PATH="/usr/local/bin/provisioning" \ provisioning-server ``` ### 3. Check Logs ```bash docker logs -f provisioning-server ``` ## Option 3: Run with Docker Compose ### 1. Create .env File ```bash cat > .env <