1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00
TiddlyWiki5/serve.sh
2012-11-16 21:27:53 +00:00

13 lines
230 B
Bash
Executable File

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