ultrawiki
v0.3.1
Published
A lightweight MediaWiki alternative
Downloads
2
Maintainers
Readme
UltraWiki
A lightweight MediaWiki alternative written in Node.js.
Installation
The easy way using bash
(Linux / Mac):
$ cd my-awesome-wiki
$ echo 'Installing UltraWiki...' && if [[ ! -f package.json ]]; then echo '{ "private":true }' >> package.json; fi; npm install --save ultrawiki ultrawiki-skin-default express > /dev/null && mkdir wiki && curl -fsSL https://github.com/nanalan/ultrawiki/raw/master/example.js >> wiki.js && perl -pi -e "s/\'\.\/lib\/ultra\'/\'ultrawiki\'/g" wiki.js && mkdir wiki/en && echo '# Welcome to [My Wiki](/)!' >> wiki/en/welcome.md && node wiki.js
# visit http://localhost:9999 in a web browser
The hard way using manual labor
(Windows):
- Open up a folder (say,
my-awesome-wiki
) inFiles
,Finder
, orMy Documents
- Make a
package.json
file - In
Command Prompt
orTerminal
, navigate to that folder and runnpm install --save ultrawiki ultrawiki-skin-default express
- Copy this file into
wiki.js
- Make a folder,
wiki
, and put another folder,en
, inside it - Inside
wiki/en
, createwelcome.md
and put "Hello" - Replace "./lib/ultra" in
wiki.js
with "ultrawiki" (near the top) - Run
node wiki.js
- Visit this page and profit!