From 44e2b246bac2f43315a6b1c05e84561b34dbfcf9 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 1 Jun 2012 18:27:20 +0100 Subject: [PATCH] Added a batch file for testing serving over HTTP --- serve.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 serve.sh 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