2012-06-01 17:27:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# serve TiddlyWiki5 over HTTP
|
|
|
|
|
2013-08-21 08:53:45 +00:00
|
|
|
# Optional parameter is the username for signing edits
|
|
|
|
|
2013-02-09 17:08:19 +00:00
|
|
|
node ./tiddlywiki.js \
|
2014-02-24 13:28:55 +00:00
|
|
|
editions/tw5.com-server \
|
2012-06-01 17:27:20 +00:00
|
|
|
--verbose \
|
2013-11-28 14:03:08 +00:00
|
|
|
--server 8080 $:/core/save/all text/plain text/html $1 $2\
|
2012-06-01 17:27:20 +00:00
|
|
|
|| exit 1
|