#!/bin/bash PORT=5170 cd "$(dirname "$0")" # Cleanup existing process on the specified port lsof -ti:$PORT | xargs kill -9 2>/dev/null echo "Starting Hotline Planner on port $PORT..." python3 -m http.server $PORT & sleep 1 open "http://localhost:$PORT" echo "Server active. Press Ctrl+C to stop." wait