quivr/frontend/lib
Stan Girard 380cf82706
feat: quivr core 0.1 (#2970)
# Description


# Testing backend 

## Docker setup
1. Copy `.env.example` to `.env`. Some env variables were added :
EMBEDDING_DIM
2. Apply supabase migratrions : 
```sh
supabase stop
supabase db reset
supabase start
```
3. Start backend containers
```
make dev
```
## Local setup 
You can also run backend without docker.
1. Install [`rye`](https://rye.astral.sh/guide/installation/). Choose
the managed python version and set the version to 3.11
2. Run the following: 
```
cd quivr/backend
rye sync
```
3. Source `.venv` virtual env : `source .venv/bin/activate`
4. Run the backend, make sure you are running redis and supabase
API: 
```
LOG_LEVEL=debug uvicorn quivr_api.main:app --log-level debug --reload --host 0.0.0.0 --port 5050 --workers 1
```
Worker: 
```
LOG_LEVEL=debug celery -A quivr_worker.celery_worker worker -l info -E --concurrency 1
```
Notifier: 
```
LOG_LEVEL=debug python worker/quivr_worker/celery_monitor.py
```

---------

Co-authored-by: chloedia <chloedaems0@gmail.com>
Co-authored-by: aminediro <aminedirhoussi1@gmail.com>
Co-authored-by: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
Co-authored-by: Chloé Daems <73901882+chloedia@users.noreply.github.com>
Co-authored-by: Zewed <dewez.antoine2@gmail.com>
2024-09-02 10:20:53 +02:00
..
api feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
assets fix(frontend): logo color on dark mode (#2882) 2024-07-18 15:30:27 +02:00
components feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
config fix(frontend): revamp quivr studio (#2274) 2024-02-28 16:42:14 -08:00
context feat(frontend): brain snippet selector (#3038) 2024-08-21 17:23:59 +02:00
helpers fix(frontend): remove intercom on thread page of mobile (#3108) 2024-08-28 11:35:52 +02:00
hooks feat: Add Azure login support (#3071) 2024-08-22 12:57:43 -07:00
router Shareable brain 6 (#628) 2023-07-13 18:05:08 +02:00
types feat(frontend): interaction with brain items (#3106) 2024-08-28 02:30:48 +02:00
utils.ts fix: fix some bugs (#1201) 2023-09-18 21:28:07 +02:00