Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 2.2 KB

README.md

File metadata and controls

65 lines (43 loc) · 2.2 KB

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.