Files
miniPHP/dev/server.sh
T
jasonhilder c52bc9b737 Small cleanup for easier local development.
Added a dev/ folder which will hold all the needed files for local
development.
2026-06-03 11:06:32 +02:00

9 lines
192 B
Bash
Executable File

#!/usr/bin/env bash
HOST="${HOST:-127.0.0.1}"
PORT="${PORT:-3333}"
echo "Starting development server..."
echo "URL: http://${HOST}:${PORT}"
php -S "${HOST}:${PORT}" -t public dev/server.php