Brain to predict "what is this?" for Wyly
- Python 3.8.x
- Poetry
- package manager
- Linters and formatters
- tools are installed by
poetry install
- tools are installed by
poetry install
- execute
poetry update
on adding/updating dependencies
At first, locate GCP credential file on ./app/credential/gcp-sa-key.json
.
Service account should be viewer
role to use Vision API.
- run unit test:
make test
- run lint:
make lint
- run unit test and lint:
make check
- build docker:
make build
- run API sever on docker:
make run
- test API:
make ping
ormake identify
- stop API sever on docker:
make stop
poetry run uvicorn app.main:app --reload