Initial import: web4beginners editor and deployment setup
This commit is contained in:
10
scripts/run_editor_server.sh
Executable file
10
scripts/run_editor_server.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
PORT="${1:-4173}"
|
||||
|
||||
ln -sf web4beginners.com.html index.html
|
||||
php -d opcache.enable_cli=0 -S 127.0.0.1:"$PORT" scripts/editor_server.php
|
||||
Reference in New Issue
Block a user