You need install tesseract
If tesseract has been built from source:
export TESSDATA_PREFIX=<your path to tessdata>
-
Add important data in .env file, or env variables (you can find it all in .env.example)
make env
-
Install packages
go mod download
-
Create database for user's settings:
make db
-
Run the app
-
in prod mode:
make prod-run
-
in dev mode:
before execution, you need to insert data to.local.env
filemake run
-
make build-image
make container
You can use only make container
with pulling my image with Yandex OCR and GPT-3-Turbo