mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 22:33:50 +00:00
Improved TW5 http serving batch file to make a copy of the store before execution
Makes it easier to test the saving code
This commit is contained in:
parent
d13e2bacaf
commit
62eb0ef5b9
7
tw5s.sh
7
tw5s.sh
@ -2,5 +2,10 @@
|
|||||||
|
|
||||||
# serve TiddlyWiki5 over HTTP
|
# serve TiddlyWiki5 over HTTP
|
||||||
|
|
||||||
|
# make a copy of the content store
|
||||||
|
mkdir -p tmp/store
|
||||||
|
rm tmp/store/*.*
|
||||||
|
cp tiddlywiki5/store/*.* tmp/store
|
||||||
|
|
||||||
# cook TiddlyWiki5
|
# cook TiddlyWiki5
|
||||||
node tiddlywiki.js --recipe $PWD/tiddlywiki5/tiddlywiki5.recipe --store tiddlywiki5/store --servewiki 8080 || exit 1
|
node tiddlywiki.js --recipe $PWD/tiddlywiki5/tiddlywiki5.recipe --store tmp/store --servewiki 8080 || exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user