diff --git a/serve.sh b/serve.sh new file mode 100755 index 000000000..208a6a74a --- /dev/null +++ b/serve.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# serve TiddlyWiki5 over HTTP + +pushd 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