Skip to content

NaaVRE/NaaVRE-workflow-service

Repository files navigation

NaaVRE-workflow-service

Running locally

Create conda environment:

conda env create -f environment.yaml

Activate the environment:

conda activate naavre-workflow-service

Run the dev server

fastapi dev app/main.py

Build Docker image

docker build . -f docker/Dockerfile -t naavre-workflow-service:dev

To run it:

docker run -p 127.0.0.1:8000:8000 naavre-workflow-service:dev

and open http://127.0.0.1:8000/docs

Deployment

We use Helm for the deployment:

helm -n naavre-workflow-service upgrade --install --create-namespace naavre-workflow-service ./helm/naavre-workflow-service -f values.yaml

values.yaml should contain ingress, OAuth2, and other configuration ( checkout ./helm/naavre-workflow-service/values-example.yaml).