- Install a light webserver
npm install -g http-server
- Install topojson
npm install -g topojson
- Clone the sample code with included libraries
git clone --depth=1 git@github.com:climboid/d3jsMaps.git
- start the project
cd d3jsMaps
1
2
3
4
5
6ProfeelsMacBook-Pro:d3jsMaps wangqi$ http-server
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
http://10.253.245.151:8080
Hit CTRL-C to stop the server