项目作者: CER-REC

项目描述 :
A visualization of data collected since 2010 about conditions on energy projects that the CER creates as part of their regulatory process.
高级语言: JavaScript
项目地址: git://github.com/CER-REC/conditions.git
创建时间: 2019-11-01T19:39:30Z
项目社区:https://github.com/CER-REC/conditions

开源协议:

下载


Conditions Visualization

Conditions data visualization for CER.

Quick Start

  1. Make a copy of .env.example in root called .env
  2. Set the URL for MIDDLEWARE_PROXY_ADDRESS to a server with the GraphQL API
    • The public apps2 server can be used if there’s no development instance of the server
    • Built Storybook points to apps2 for the GraphQL API, by default CORS will stop API requests
      • Need to allow CORS for Storybook hosted domain on the GraphQL API server if hosting Storybook
  3. Install NPM dependencies npm install
  4. Run storybook npm run storybook
  5. Run preview npm run verifyLazyLoad

Commands

  • Linting: npm run lint
  • Testing (all): npm run test
  • Testing (target): npm run test -- [PATH_TO_FILES]
  • Coverage Report: npm run test:showcoverage