2024-01-02 14:39:14 +00:00
|
|
|
title: $:/plugins/tiddlywiki/multiwikiserver/readme
|
|
|
|
|
2024-03-12 17:32:54 +00:00
|
|
|
This plugin extends the TiddlyWiki 5 server running on Node.js to be able to host multiple wikis that can share content or be independent.
|
2024-01-02 14:39:14 +00:00
|
|
|
|
2024-03-12 17:32:54 +00:00
|
|
|
Installation
|
2024-01-02 14:39:14 +00:00
|
|
|
|
|
|
|
```
|
2024-03-12 17:32:54 +00:00
|
|
|
git clone https://github.com/Jermolene/TiddlyWiki5.git --branch multi-wiki-support
|
|
|
|
|
|
|
|
cd TiddlyWiki5
|
|
|
|
|
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-03-12 17:32:54 +00:00
|
|
|
npm start
|
|
|
|
```
|
|
|
|
|
|
|
|
The `npm start` command is a shortcut for the following command:
|
|
|
|
|
|
|
|
```
|
2024-03-18 08:44:45 +00:00
|
|
|
node ./tiddlywiki.js ./editions/multiwikiserver --mws-listen
|
2024-01-02 21:47:08 +00:00
|
|
|
```
|
|
|
|
|
2024-03-12 17:32:54 +00:00
|
|
|
Then visit the administration interface in a browser:
|
2024-01-02 21:47:08 +00:00
|
|
|
|
2024-03-12 17:32:54 +00:00
|
|
|
* http://127.0.0.1:8080/
|
2024-01-05 15:40:39 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
```
|