1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 15:54:50 +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