Files
hotline-planner/component split/codex/hlp quasar codex (good)/start.command
2026-02-23 14:02:44 +01:00

15 lines
305 B
Bash
Executable File

#!/bin/bash
PORT=5173
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