# Bun Server

Install dependencies:

```bash
bun install
```

Run:

```bash
bun run src/index.ts
```

# Python Service

Run:

```bash
venv/Scripts/Activate.ps1
```
```bash
python python_service/app.py
```

# BACKEND DATA GENERATION

Update index / embeddings / ids for (new) cards:

1. update cards in `\images\cards`
2. activate venv:

```bash
venv/Scripts/Activate.ps1
```

3. run python script:

```bash
 python encodeImages.py
```

4. great success