afp-backend / docs /setup.md
Yarin35
fix(quotations): update test data and doc, along with quotation method
82cb09c
# Setup
## Prerequisites
- Python 3.12+
- Node.js (for Prisma CLI if needed)
- Supabase CLI
## Install
```bash
pip install -r requirements.lock.txt
```
## Environment
Copy `.env.example` into `.env` and set values.
## Local database and Prisma sync
```bash
supabase start
supabase db reset
prisma db pull
prisma generate
```
During the execution of the `supabase db reset` command it will autommatically look for a `supabase/seed.sql` file to seed the db.
## Run API
```bash
uvicorn app.main:app --reload
```