mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-26 17:06:51 +00:00
Some rejigging of the editions folders
Now we’re optimising the editions for use with the —init command. Documentation coming up.
This commit is contained in:
parent
a1ad735822
commit
042698b508
12
editions/server/tiddlywiki.info
Normal file
12
editions/server/tiddlywiki.info
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"plugins": [
|
||||
"tiddlywiki/tiddlyweb",
|
||||
"tiddlywiki/filesystem",
|
||||
"tiddlywiki/codemirror",
|
||||
"tiddlywiki/highlight"
|
||||
],
|
||||
"themes": [
|
||||
"tiddlywiki/vanilla",
|
||||
"tiddlywiki/snowwhite"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki
|
||||
Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.
|
||||
|
||||
```
|
||||
--init <edition>
|
||||
--init <edition> [<edition> ...]
|
||||
```
|
||||
|
||||
For example:
|
||||
@ -22,4 +22,5 @@ Note:
|
||||
* The "edition" defaults to ''empty''
|
||||
* The init command will fail if the wiki folder does not exist, or is not empty
|
||||
* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file
|
||||
* The init command can be used multiple times to merge editions. Editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)
|
||||
* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)
|
||||
|
||||
|
@ -5,7 +5,7 @@ rem serve TiddlyWiki5 over HTTP
|
||||
rem Optional parameter is the username for signing edits
|
||||
|
||||
node .\tiddlywiki.js ^
|
||||
editions\clientserver ^
|
||||
editions\tw5.com-server ^
|
||||
--verbose ^
|
||||
--server 8080 $:/core/save/all text/plain text/html %1 %2^
|
||||
|| exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user