- install npm (Windows users can download from http://nodejs.org/download/)
- install grunt (Windows users can download from http://gruntjs.com/getting-started)
- run "Node.js command prompt" (mainly for Windows users, unix users should have npm on path)
- go to project directory (
cd ~/unipa-migration
) - type
npm install
- run "Node.js command prompt" (mainly for Windows users, unix users should have npm on path)
- go to project directory (
cd ~/unipa-migration
) - type
grunt
to compile the data - type
npm start
to run the web server - start a browser and go to http://localhost:8080
By default grunt compiles using the files present in the distribution data/countries Version2.csv
and data/Flow Data for Online Viz Version2.csv
, instead of overwriting these files you can specify different sets from command line
grunt --countries=../europe/north.csv --data=../mydata/north-europe-data.csv
Other details can be found at FAQ page
In lieu of a formal styleguide, take care to maintain the existing coding style. Lint your code using Grunt.
Copyright (c) 2013 null2 GmbH Berlin
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.