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 dataassets
: 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.
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.
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.
To run all project tests:
make test
make build
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.