1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 10:37:20 +00:00
TiddlyWiki5/serve.sh
2013-08-21 09:53:45 +01:00

12 lines
256 B
Bash
Executable File

#!/bin/bash
# serve TiddlyWiki5 over HTTP
# Optional parameter is the username for signing edits
node ./tiddlywiki.js \
editions/clientserver \
--verbose \
--server 8080 $:/core/templates/tiddlywiki5.template.html text/plain text/html $1\
|| exit 1