1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 07:44:51 +00:00
TiddlyWiki5/serve.sh
2012-06-01 18:27:20 +01:00

13 lines
218 B
Bash
Executable File

#!/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