1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-25 06:43:15 +00:00

Docs for environment variable support

Fixes #531
This commit is contained in:
Jermolene 2014-06-17 22:26:27 +01:00
parent a9b7df96c2
commit 2e2d30bae9
3 changed files with 31 additions and 2 deletions

View File

@ -1,7 +1,11 @@
created: 20140223195548209
modified: 20140223195738745
modified: 20140617212529392
tags: command
title: InitCommand
type: text/vnd.tiddlywiki
{{$:/language/Help/init}}
See also:
* [[Environment Variables on Node.js]]

View File

@ -0,0 +1,21 @@
created: 20140617211749290
modified: 20140617212340133
title: Environment Variables on Node.js
type: text/vnd.tiddlywiki
[[TiddlyWiki on Node.js]] supports the following OS environment variables for specifying a colon-delimited list of paths to search for plugins and editions:
* `TIDDLYWIKI_PLUGIN_PATH` - Search path for ordinary plugins
* `TIDDLYWIKI_THEME_PATH` - Search path for themes
* `TIDDLYWIKI_LANGUAGE_PATH` - Search path for languages
* `TIDDLYWIKI_EDITION_PATH` - Search path for editions (used by the InitCommand)
The additional paths should each point to folders structured like the equivalent directories in the TiddlyWiki5 GitHub repository: the plugin, theme and language directories contain `publisher/pluginname/<files>` while the edition directories contain `editionname/<files>`
For example:
```
TIDDLYWIKI_PLUGIN_PATH=~/MyPluginStore
tiddlywiki mywiki --build index
```

View File

@ -1,5 +1,5 @@
created: 20131219100520659
modified: 20131219163807594
modified: 20140617212408196
tags: howto
title: Using TiddlyWiki on Node.js
type: text/vnd.tiddlywiki
@ -25,3 +25,7 @@ tiddlywiki [<wikipath>] [--<command> [<arg>[,<arg>]]]
The available commands are:
<ul><$list filter="[tag[command]]"><li><$link to={{!!title}}><$view field="title"/></$link></li></$list></ul>
See also:
* [[Environment Variables on Node.js]]