See demo at http://ome.github.io/shape-editor/
We use Grunt for various tools.
Install Node from https://nodejs.org, then:
$ cd shape-editor $ npm install
Install Grunt CLI as described on http://gruntjs.com/using-the-cli.
To concatenate js files into a single shape-editor.js file that is used in the app:
$ grunt concat