website/script/server

14 lines
294 B
Bash
Executable File

#!/bin/sh
# script/server: Launch the application and any extra required processes
# locally.
set -e
cd "$(dirname "$0")/.."
# ensure everything in the app is up to date.
script/update
docker run --rm -it -p 4000:4000 -v "$PWD/src:/srv/jekyll" jekyll/minimal:4 jekyll serve