Skip to content

MapofLife/indicators

Repository files navigation

The indicators module

A module to support regional and global indicator metrics.

bower update

Clone the MOL UI components into a separate directory and link them in with bower

git clone git@github.com:MapofLife/ui-components /path/to/my/workspace/
cd /path/to/my/workspace/ui-components
bower link
cd /path/to/my/workspace/indicators
bower link mol-ui-components

Install all local dev dependencies

npm install

Run the development server using

grunt serve

That will serve the application at the given base configured in package.json (here http://localhost:9001/inventory/)

Build and deploy to gh-pages using

grunt build
git commit -am 'Updating dist'
grunt deploy

Both of these rely on css hosted at //mol.org/ for the MOL theme.

All routes in the app are relative to /{pkg.base}/ are and handled by ui-router client side configurations.