1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 19:39:57 +00:00
TiddlyWiki5/plugins/tiddlywiki/multiwikiserver/docs/readme.tid

33 lines
972 B
Plaintext
Raw Normal View History

2024-01-02 14:39:14 +00:00
title: $:/plugins/tiddlywiki/multiwikiserver/readme
This plugin extends the TiddlyWiki 5 server running on Node.js to be able to host multiple wikis, which can share content or be independent.
Before using the plugin, it is necessary to install dependencies by running the following command in the root of the ~TiddlyWiki5 repository:
```
2024-01-02 21:41:25 +00:00
npm install
2024-01-02 14:39:14 +00:00
```
2024-01-02 21:47:08 +00:00
To start the server:
```
2024-01-03 16:47:20 +00:00
tiddlywiki editions/multiwikiserver --listen
2024-01-02 21:47:08 +00:00
```
Then visit the sample wikis in a browser:
2024-01-05 15:40:39 +00:00
* http://127.0.0.1:8080/wiki/recipe-rho - bag-alpha, bag-beta
* http://127.0.0.1:8080/wiki/recipe-sigma - bag-alpha, bag-gamma
* http://127.0.0.1:8080/wiki/recipe-tau - bag-alpha
* http://127.0.0.1:8080/wiki/recipe-upsilon - bag-alpha, bag-gamma, bag-beta
Note that changes are written to the topmost bag in a recipe.
Note that until syncing is improved it is necessary to use "Get latest changes from the server" to speed up propogation of changes.
2024-01-02 21:47:08 +00:00
To run the tests:
```
./bin/test.sh
```