Examples: http://openthings-cc.github.io/VisualRDF/deploy
Node.js for installing the development tools and dependencies.
- Download and install Node.js from http://nodejs.org/download/
- Open the terminal in the root directory
- Run
npm install
to install the dependencies and build the project - Edit the code
- Run
npm run-script release
to (re-)build all necessary files into the deploy directory
Instead of the last step of the simple setup, install the npm package grunt-cli
globally with
npm install grunt-cli -g
. Now you can execute a few more advanced commands in the terminal:
grunt
orgrunt release
builds the release files into the deploy directorygrunt package
builds the development versiongrunt webserver
starts a local live-updating webserver with the current development versiongrunt test
starts the test runnergrunt zip
builds the project and puts it into a zip file