-
clone the repo
git clone git@github.com: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 8000Navigate to localhost:8000/docs in your browser
pytestCheck test coverage
coverage run --branch -m pytest
coverage report -mfrom StormPiper directory
bash scripts/lint.shThis command runs make clean, then make stack, then make build
make developif a startup command is set for the container, this will run it.
make upThe 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-dmake down