#!/bin/bash set -e # Start collector as background process cd /root/hermes-workspace/public python3 /app/collector.py & COLLECTOR_PID=$! echo "Collector started (PID $COLLECTOR_PID)" echo "Serving dashboard on :8092" # Serve the public directory (contains gpu.html + gpu_metrics.json) cd /root/hermes-workspace/public python3 -m http.server 8092