/datasets

A datasets list and information view for Map of Life

Primary LanguageJavaScriptMIT LicenseMIT

The datasets module

A dataset listing and information application, written for Angular 1.5.x.

After cloning, install client dependencies...

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/datasets
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.