Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 751 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 751 Bytes

FI-API

Here be dragons...

Getting started

Install dependencies

npm install

Set ENV_VARIABLES

  • FI_API__STORAGE_ACCOUNT=figeodata
  • FI_API__STORAGE_SECRET

The keys are stored here: FI-meta (private)

Run Tests with grunt.

Before running the test, the NODE_PATH must be set to '.'. Setting them after starting the node process, i.e. Grunt, doesn't work :(

NODE_PATH=. grunt test

or

npm test

For continous testing do

NODE_PATH=. grunt test watch

There is also grunt test:integration which runs the integration tests. These tests require valid API keys to work though.