1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00

Update usage instructions

This commit is contained in:
Jeremy Ruston 2024-01-02 21:41:25 +00:00
parent 993eb5c90d
commit f42d3e0536
2 changed files with 2 additions and 2 deletions

View File

@ -5,5 +5,5 @@ This plugin extends the TiddlyWiki 5 server running on Node.js to be able to hos
Before using the plugin, it is necessary to install dependencies by running the following command in the root of the ~TiddlyWiki5 repository: Before using the plugin, it is necessary to install dependencies by running the following command in the root of the ~TiddlyWiki5 repository:
``` ```
npm install better-sqlite3 npm install
``` ```

View File

@ -30,7 +30,7 @@ exports.startup = function() {
} catch(e) { } catch(e) {
} }
if(!$tw.sqlite3.Database) { if(!$tw.sqlite3.Database) {
logger.alert("The plugin 'tiddlywiki/multiwikiserver' requires the better-sqlite3 npm package to be installed. Run 'npm install better-sqlite3' in the root of the TiddlyWiki repository"); logger.alert("The plugin 'tiddlywiki/multiwikiserver' requires the better-sqlite3 npm package to be installed. Run 'npm install' in the root of the TiddlyWiki repository");
return; return;
} }
// Create and initialise the tiddler store // Create and initialise the tiddler store