2nd generation of STNWeb, the data entry and data management web application for the USGS Short Term Network high-water mark and storm tide sensor database.
npm install -g @angular/cli
Recommended node version: v12.14 or greater.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Clone the repo and cd
to that directory
install dependencies:
npm install
Serve application with live reload change detection:
ng serve
To build a distribution folder for production:
ng build --prod --base-href --aot=false --build-optimizer=false
To run tests:
ng test --watch=false --browsers=ChromeHeadlessCustom
Instructions below are for developers actively working on the repo
An issue will be assigned to you via Github. Your workflow begins after assignment:
134
)ng serve
to do so.ng test
ng serve
ng build
git add .
and commit git commit -m '[your commit message here]'
you commit message should reference the issue number and include a very brief description of the work.dev
git pull origin dev
. This is a critical step. It ensures your Pull Request is synced with the latest work in the main dev
branch. If you are lucky, it will auto-merge. Otherwise, you may have to resolve conflicts between your commit and what currently exists in dev. Please be careful with this step so no code is lost - ask for help if you are unsure what to do.git push origin [your branch name]
dev
Move onto next assigned issue and start back at step 1.
Work will be merged with Master when sprint is complete for a release.
TBD
Please read CONTRIBUTING.md for details on the process for submitting pull requests to us. Please read CODE_OF_CONDUCT.md for details on adhering by the USGS Code of Scientific Conduct.
We use SemVer for versioning. For the versions available, see the tags on this repository.
All developers must maintain the Changelog located at root as CHANGELOG.md. This document serves as a portable history of changes to the codebase and is meant to complement Github release tags. 'Added', 'Changed', and 'Fixed' sections should be updated within the Unreleased header when creating a Pull Request. As releases are created, those sections will move down into respective release headers.
Lauren Privette - Lead Developer - USGS Web Informatics & Mapping
Blake Draper - Developer - USGS Web Informatics & Mapping
Abby Gleason - Developer - USGS Web Informatics & Mapping
See also the list of contributors who participated in this project.
This project is licensed under the Creative Commons CC0 1.0 Universal License - see the LICENSE.md file for details
In the spirit of open source, please cite any re-use of the source code stored in this repository. Below is the suggested citation:
This project contains code produced by the Web Informatics and Mapping (WIM) team at the United States Geological Survey (USGS). As a work of the United States Government, this project is in the public domain within the United States. https://wim.usgs.gov