-
Notifications
You must be signed in to change notification settings - Fork 13
Install and run on Mac OS X with Homebrew
Pekka Nikander edited this page Jun 6, 2015
·
3 revisions
First you need Xcode and Xcode command line tools.
To install Homebrew, use this command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then, with Homebrew installed, install the needed packages:
brew install mongodb
brew install nodejs
npm install express
npm install log4js
npm install mongojs
npm install d3
npm install xmldom
npm install underscore
npm install jade
Clone the WardleyMapsTool.
git clone git@github.com:cdaniel/wardleymapstool.git
cd wardleymapstool
cat > config.json << EOF
{
"userProvider": "os"
}
EOF
Start MongoDB manually (unless you enabled it through launchd as suggested), and this tool:
mongod --config /usr/local/etc/mongod.conf
npm start
Click Allow to allow node to accept incoming network connections.
If you see a log like the following, it should be running:
> wardleymaptool@1.0.1 start /Volumes/Work/pnr/Solu/wardleymapstool
> node server/server.js
[2015-06-06 21:01:44.039] [DEBUG] db - connecting to 127.0.0.1:27017/wardleymaps
[2015-06-06 21:01:44.192] [ERROR] exportmap - Could not load jsdom
[2015-06-06 21:01:44.233] [WARN] console - connect.multipart() will be removed in connect 3.0
[2015-06-06 21:01:44.233] [WARN] console - visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
[2015-06-06 21:01:44.233] [WARN] console - connect.limit() will be removed in connect 3.0
[2015-06-06 21:01:44.245] [INFO] console - WARNING : development mode
[2015-06-06 21:01:44.245] [INFO] console - WARNING : auth disabled
[2015-06-06 21:01:44.251] [INFO] console - Sat Jun 06 2015 21:01:44 GMT+0300 (EEST): Node server started on 0.0.0.0:8080 ...
Any suggestion how to improve this documentation? Tell Wardley Maps