Today we explored running federated wiki locally.
# simpler commandline if you create config below wiki
# run wiki without writing the config files wiki --farm --security_legacy --port=3000
# choose an alternate data directory wiki --farm --security_legacy --data=./data
config
Create a local directory to store wiki configuration and data.
mkdir $HOME/.wiki
Create a file named $HOME/.wiki/config.json
{ "security_legacy": true, "farm": true, "port": 3000 }
install
If you have not previously installed node and wiki...
# for mac using homebrew brew install node brew install npm
... or use download to install node if you prefer
Once node is installed
npm install -g wiki