mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
50be85287b
Useful to be able to do `./bin/serve.sh "" "" 0.0.0.0` to listen on all network adaptors
12 lines
243 B
Bash
Executable File
12 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# serve TiddlyWiki5 over HTTP
|
|
|
|
# Optional parameter is the username for signing edits
|
|
|
|
node ./tiddlywiki.js \
|
|
editions/tw5.com-server \
|
|
--verbose \
|
|
--server 8080 $:/core/save/all text/plain text/html "$1" "$2" "$3"\
|
|
|| exit 1
|