Before you can build...
- You'll need Node, if you don't have it already.
- Once you have node, run
npm install
.
Once you have those, you can build with npm run build
.
lab-grapher depends on the following libraries:
- jQuery v1.10
- D3 v3
- Font Awesome v3.2
The easiest way to use try lab-grapher out is to use a CDN in your html
to meet these dependancies, as in the example examples/index.html
:
...
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
<link href='../css/lab-grapher.css' rel='stylesheet' type='text/css'>
<link href='examples.css' rel='stylesheet' type='text/css'>
</head>
...
<script src='http://d3js.org/d3.v3.min.js' type='text/javascript'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'></script>
...