mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
b805633dc9
We’re introducing a mechanism that allows us to decide which tiddlers get saved. Using `$:/core/save/all` gives all tiddlers, as before. Using `$:/core/save/empty` gives an empty wiki. Saving an empty wiki from tw5.com isn’t the same as the empty wiki cooked from editions/empty because the two editions have different plugins and other system tiddlers.
12 lines
231 B
Batchfile
12 lines
231 B
Batchfile
@echo off
|
|
|
|
rem serve TiddlyWiki5 over HTTP
|
|
|
|
rem Optional parameter is the username for signing edits
|
|
|
|
node .\tiddlywiki.js ^
|
|
editions\clientserver ^
|
|
--verbose ^
|
|
--server 8080 $:/core/save/all text/plain text/html %1^
|
|
|| exit 1
|