TiddlyWiki5/serve.sh

13 wiersze
231 B
Bash
Executable File

#!/bin/bash
# serve TiddlyWiki5 over HTTP
pushd editions/tw5.com > /dev/null
node ../../tiddlywiki.js \
--verbose \
--server 8080 $:/core/templates/tiddlywiki5.template.html text/plain text/html \
|| exit 1
popd > /dev/null