Map-based information services based on Queensland Government data
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
demo
test
.gitignore
.jshintrc
Gruntfile.js
LICENSE.md
README.md
bower.json
package.json

README.md

devDependency Status

MAM template in AngularJS

This repo is provided as a sample for pulling data from the Queensland Government open data portal and presenting it in the MAM (Medium Awesome Map) page template.

Installation

  1. install node.js
  2. install grunt: npm install -g grunt-cli
  3. install dependencies: npm install

Development

  1. grunt
  2. Go to: http://localhost:8888

Testing

  1. run the installation steps above
  2. update webdriver (for tests) grunt install

Run all tests with

grunt test

Unit Testing

Single run tests

grunt test:unit

Auto watching tests

grunt autotest:unit

End to End Testing (Protractor)

  • Keep webdriver up to date: grunt shell:protractor_install

Single run tests

grunt test:e2e

Auto watching tests

grunt autotest:e2e

Coverage Testing

grunt coverage

Based on Yearofmoo AngularJS Seed Repo.

A starter AngularJS repository for getting started with AngularJS. Includes helpful unit testing tools, Protractor integration and coverage testing.