mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 05:44:50 +00:00
f606e33415
Too much of a constraint now that we're starting work on client-server sync
40 lines
823 B
Plaintext
40 lines
823 B
Plaintext
title: $:/plugins/tiddlywiki/multiwikiserver/readme
|
|
|
|
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.
|
|
|
|
Installation
|
|
|
|
```
|
|
git clone https://github.com/Jermolene/TiddlyWiki5.git --branch multi-wiki-support
|
|
|
|
cd TiddlyWiki5
|
|
|
|
npm install
|
|
```
|
|
|
|
To start the server:
|
|
|
|
```
|
|
npm start
|
|
```
|
|
|
|
The `npm start` command is a shortcut for the following command:
|
|
|
|
```
|
|
node ./tiddlywiki.js ./editions/multiwikiserver --mws-listen
|
|
```
|
|
|
|
Then visit the administration interface in a browser:
|
|
|
|
* http://127.0.0.1:8080/
|
|
|
|
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.
|
|
|
|
To run the tests:
|
|
|
|
```
|
|
./bin/test.sh
|
|
```
|