markdown-live-preview/scripts/run-local-server.sh

8 lines
130 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR=$(cd $(dirname $0); pwd)
cd ${SCRIPT_DIR}/../public
python -m http.server 8000