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:
|
|
|
|
|
|
|
|
```
|
|
|
|
tiddlywiki editions/prerelease --listen
|
|
|
|
```
|
|
|
|
|
|
|
|
Then visit the sample wikis in a browser:
|
|
|
|
|
|
|
|
* http://127.0.0.1:8080/wiki/recipe-rho
|
|
|
|
* http://127.0.0.1:8080/wiki/recipe-sigma
|
|
|
|
|
|
|
|
To run the tests:
|
|
|
|
|
|
|
|
```
|
|
|
|
./bin/test.sh
|
|
|
|
```
|