Skip to content

Setting up a development environment

aendrew edited this page Oct 22, 2014 · 1 revision

If you have nodeJS installed already, getting up and running with axisJS is a snap:

$ git clone https://github.com/times/axisJS $ cd axisJS $ npm install $ bower install

This will allow you to run all the tests, build a distributable version, lint the code and a bunch of other stuff.

You may need to also install grunt-cli and bower:

$ npm install -g grunt-cli bower

Common tasks

  • Run local development server on port 9001
    • $ grunt serve
  • Run automated tests
    • $ grunt test
  • Build optimised version into dist
    • $ grunt build

For more information, please see Application structure.