#!/bin/bash # Convenience script to run a local HTTP server for the site PORT="${1:-8080}" SITE_DIR="$(dirname "$0")/../site" echo "Starting HTTP server on port $PORT..." echo "Site directory: $SITE_DIR" echo "Open http://localhost:$PORT in your browser" echo "" echo "Press Ctrl+C to stop the server" cd "$SITE_DIR" && python3 -m http.server "$PORT"