-
clone the repo
git clone [email protected]:Geosyntec/StormPiper.git
-
build & activate an environment
conda create -n stormpiper python=3.11 conda activate stormpiper
-
install dependencies
cd StormPiper pip install -r stormpiper/requirements.txt pip install -r stormpiper/requirements_test.txt
Run the development server From the StormPiper/stormpiper directory:
uvicorn stormpiper.main:app --reload --port 8000
Navigate to localhost:8000/docs in your browser
pytest
Check test coverage
coverage run --branch -m pytest
coverage report -m
from StormPiper directory
bash scripts/lint.sh
This command runs make clean
, then make stack
, then make build
make develop
if a startup command is set for the container, this will run it.
make up
The development server runs on your localhost:8080
if you want to silence the logs you can bring things up in daemon
mode with:
make up-d
make down