/milo

Primary LanguageJavaScript

##Milo.js

Build Status

Sample App

In sample-ui directory you can find an example about how to use Milo.js with an Ember.js application.

Setup

  1. Run npm install -g brunch to install Brunch.
  2. Run npm install . inside the sample-ui directory to install the required dependencies.

Running the sample

Building Milo.js

  1. Run npm install . to fetch the necessary npm packages.
  2. Run grunt dist to build Milo.js. Two builds will b e placed in the dist directory.
    • milo.js and milo.min.js - unminified and minified build of Milo.js

NOTE: Please be sure you already have installed Node.js

How to Run Unit Tests

Setup

In order to run the tests you need mocha-phantomjs. You can do it by installing:

  1. Install Node.js with NPM.
  2. Run npm install -g grunt-cli. to install Grunt.
  3. Run npm install . inside the project root to install the required npm packages.

Running tests using Grunt

  1. Go to the project root directory.
  2. Run grunt test.

Build documentation

  • From your local repository, run grunt doc
  • The documentation will be built into the doc directory