1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 10:30:28 +00:00
TiddlyWiki5/serve.sh

12 lines
256 B
Bash
Raw Normal View History

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