mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-28 20:12:41 +00:00
![Myeongjin](/assets/img/avatar_default.png)
* Add string '.htm' to 'Saving with TiddlyIE' * Change external links to match locale with wiki language * Add instructions for use to 'Saving on Android' * Change string in 'task' * Change instructions for use in 'Saving on iPad/iPhone' * Add newline to 'TiddlyDesktop Releases' * Remove caption from 'Serving TW5 from Android' * Change link to external in tiddlers which tagged 'Editions' * Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki' * Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community' * Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community' * Change string 'done' to 'Upgrade' in 'UpgradeMechanism' * Change buttons to images in 'How to export tiddlers' * Add images about buttons to tiddlers * Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement' * Rename 'UsingSVG' to 'Using SVG' * Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG' * Add tiddler 'Using Stamp' * Add 'rel="noopener noreferrer"' to external links * Add description about 'rel="noreferrer"' to 'HTML in WikiText' * Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language' * Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library' * Add download button to 'Empty Edition'
32 lines
1.7 KiB
Plaintext
32 lines
1.7 KiB
Plaintext
created: 20131219100608529
|
|
modified: 20160520090217678
|
|
tags: [[TiddlyWiki on Node.js]]
|
|
title: Installing TiddlyWiki on Node.js
|
|
type: text/vnd.tiddlywiki
|
|
|
|
# Install [[Node.js]]
|
|
#* either from your favourite package manager: typically `apt-get install nodejs` on Debian/Ubuntu Linux or Termux for Android, or `brew install node` on a Mac
|
|
#* or directly from http://nodejs.org
|
|
# Open a command line terminal and type:
|
|
#> `npm install -g tiddlywiki`
|
|
#> If it fails with an error you may need to re-run the command as an administrator:
|
|
#> `sudo npm install -g tiddlywiki` (Mac/Linux)
|
|
# Check TiddlyWiki is installed by typing:
|
|
#> `tiddlywiki --version`
|
|
# In response, you should see TiddlyWiki report its current version (eg "<<version>>"; you may also see other debugging information reported)
|
|
# Try it out:
|
|
## `tiddlywiki mynewwiki --init server` to create a folder for a new wiki that includes server-related components
|
|
## `tiddlywiki mynewwiki --server` to start TiddlyWiki
|
|
## Visit http://127.0.0.1:8080/ in your browser
|
|
## Try editing and creating tiddlers
|
|
# Optionally, make an offline copy:
|
|
#* click the {{$:/core/images/save-button}} ''save changes'' button in the sidebar, ''OR''
|
|
#* `tiddlywiki --build index`
|
|
|
|
|
|
The `-g` flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.
|
|
|
|
If you are using Debian or Debian-based Linux and you are receiving a `node: command not found` error though node.js package is installed, you may need to create a symbolic link between `nodejs` and `node`. Consult your distro's manual and `whereis` to correctly create a link. See github [[issue 1434|http://github.com/Jermolene/TiddlyWiki5/issues/1434]]
|
|
|
|
Example Debian v8.0: `sudo ln -s /usr/bin/nodejs /usr/bin/node`
|