mirror of
https://github.com/trailbaseio/trailbase
synced 2026-04-21 21:47:55 +00:00
| .. | ||
| assets | ||
| guests | ||
| screenshots | ||
| src | ||
| traildepot | ||
| .dockerignore | ||
| .gitignore | ||
| arabica_data_cleaned.csv | ||
| Dockerfile | ||
| eslint.config.js | ||
| import.sql | ||
| index.html | ||
| Makefile | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Coffee Vector Search
A small web application demonstrating the use of TrailBase and its vector search to build a coffee search.
To import the coffee data from CSV, run:
$ mkdir -p traildepot/data
$ cat import.sql | sqlite3 traildepot/data/main.db -
To build the web app
$ pnpm i
$ pnpm build
Finally, to build the docker container:
$ docker build . -t coffee && docker run -p 4001:4000 coffee
Reference
- Coffee data source