This is an Javascript/AngularJS
client for "MOPA" API
Building the source code requires NodeJs
, npm
, bower
and grunt
as dependancies
To use the source code for development install the system wide dependencies then
-
Get the source code, Example using
git clone https://github.com/WorldBank-Transport/angular-mopa.git
-
Move to project directory,
cd angular-mopa
-
Install javascript dependencies by running
npm install
and thenbower install
-
You are good to go
To start the development server run
grunt serve
To build the source code for deployment run
grunt
This will build the source code into a folder named dist
within your project root. The content of the dist
folder can be server using your favorite web server as a simple static content.
If you getting errors when building try install some build dependancies by running:
npm install grunt-karma karma karma-phantomjs-launcher karma-jasmine jasmine-core phantomjs-prebuilt --save-dev
Running grunt test
will run the unit tests with karma.
This project was generated with yo angular generator version 0.15.1.