Skip to content

NERC-CEH/npms-app

Repository files navigation

NPMS App Build Status

The National Plant Monitoring Scheme (NPMS) is a new habitat-based plant monitoring scheme designed by BSBI, CEH, Plantlife and JNCC. The aim is to collect data to provide an annual indication of changes in plant abundance and diversity.

Contribution

Think you've found a bug or have a new feature to suggest? Let us know!

In the spirit of open source software development, we'd love for you to contribute to our source code and make it better than it is today! To help you get started and before you jump into writing code, please read the contribution guidelines thoroughly:

Contribution guidelines: CONTRIBUTING.md

Questions

If you have any questions, please feel free to ask on the NPMS forum.

Configuration

App configuration is hosted in config/config.js. Note: it should be done before building the code.

Building

gem install sass
  • Get a copy of the code by running:
git clone git://github.com/NERC-CEH/npms-app.git
  • Enter the npms-app directory and install the npm build dependencies:
cd npms-app && npm install

Cordova mobile app

  • Build the project:
grunt cordova
  • Update Cordova project with new web pages (replaces the www)
grunt cordova:update

Web app

If you are building for the web platform only:

Production

grunt

Development

grunt dev

This will create a dist folder with the app code and its dependencies.

Running app locally

  • Express framework is provided for a quick launch of a web server.
node config/server.js

Authors

Karolis Kazlauskis

Copyright and license

Code copyright 2017 Centre for Ecology & Hydrology. Code released under the GNU GPL v3 license.