1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/serve.sh
2012-11-29 21:30:53 +00:00

13 lines
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