Skip to content

GregoryPetrochenkov-NOAA/waterdataui

 
 

Repository files navigation

Water Data For The Nation UI

Build Status codecov Codacy Badge BrowserStack Status

This repo contains the components of Water Data For The Nation:

  • wdfn-server: A Flask web application that is used to create server-rendered pages for USGS water data
  • assets: Client-side Javascript, CSS, images, etc.
  • graph-server: A node.js server-renderer for charts, serving up SVG and images.

The application has been developed using Python 3.6 and Node.js 10.15.3. This is a work in progress.

Install dependencies

The repository contains a make target to configure a local development environment:

make env

To manually configure your environment, please see the READMEs of each separate project.

Development server

To run all development servers in a watch mode at the same time, use the make target:

make watch

... and to run each dev server individually:

make watch-wdfn
make watch-assets
make watch-graph-server

See the specific project READMEs for additional information.

Run tests

To run all project tests:

make test

Production build

make build

Clean targets

make clean      ; clean build artifacts
make cleanenv   ; clean environment configuration and build artifacts

make supports chaining targets, so you could also make clean watch, etc.

About

[Beta] Water Data For The Nation Site Pages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.5%
  • Python 16.6%
  • HTML 3.1%
  • CSS 1.3%
  • Other 0.5%