Files
interkollektives-micro-website/administration/scripts/run_editor_server.sh

11 lines
272 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT_DIR"
PORT="${1:-4173}"
ln -sf ikfreunde.com.html website/index.html
php -d opcache.enable_cli=0 -S 127.0.0.1:"$PORT" administration/scripts/editor_server.php