1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-10 11:59:58 +00:00
TiddlyWiki5/plugins/tiddlywiki/multiwikiserver/docs/readme.tid

40 lines
823 B
Plaintext
Raw Normal View History

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:
```
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
```