t
This commit is contained in:
parent
0990b98436
commit
1a3ba56d9a
123 changed files with 16018 additions and 9153 deletions
6
scripts/start_server.sh
Normal file
6
scripts/start_server.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
PORT="${1:-8000}"
|
||||
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
PROJECT_ROOT=$(CDPATH= cd -- "$SCRIPT_DIR/.." && pwd)
|
||||
exec php -S "127.0.0.1:${PORT}" -t "$PROJECT_ROOT" "$SCRIPT_DIR/router.php"
|
||||
Loading…
Add table
Add a link
Reference in a new issue