Skip to content

CUAHSI/hydroprocess-db

Repository files navigation

Hydroprocess DB

Quick Start

Clone the repo, checkout this branch

git clone https://github.com/CUAHSI/hydroprocess-db.git
cd hydroprocess-db
git checkout develop

API running locally

cp env.template .env
make build
make up

The API will be available at http://0.0.0.0:8001

If you want to load some test data, you can run

make loaddb

To reload the database (destructive, returns to original dump state):

make reloaddb

Frontend for local development

cp .env.template .env  #if you haven't already. Replace `https://localhost` with `http://localhost:5173` (or whatever port is used by Vite)
cd frontend
npm install
npm run dev

The frontend will be available at http://localhost:5173 More detailed info is available in the frontend readme

Formatting

make format

Contributing guidelines

We would love for you to contibute! Pull requests should be submitted against our develop branch PRs will receive at least one approval before being merged into develop. Review at this stage should include a code review as well as a functional review. After any necessary revisions/comments are addressed, the Reviewer(s) will approve the PR in Github, after which the developer/contributor is free to merge (assuming they have adequate priveleges on the repo--if not, then the Reviewer will complete the merge). Once a set of features are ready for release, a PR will be opened up by an administrator, for develop -> main.

More info

CI/CD info

About

HydroProcess DB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •