A web API for the RamanChada 2 Raman spectroscopy harmonisation library, incorporating the AMBIT/eNanoMapper data model.
Install Poetry, then run:
poetry install
poetry run dev
poetry shell
Exit with exit
or Ctrl-D.
poetry add <pkgname>
poetry run pytest
docker build -t ramanchada-api:latest .
docker run -it --rm -p 127.0.0.1:8000:80 ramanchada-api
Add and commit or stash any uncommitted changes, then run:
git submodule update --remote
git commit -am "Pull the latest commit for the submodules"
git push
uvicorn src.rcapi.main:app --reload