Spaces:
Sleeping
Sleeping
| # 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 | |
| ``` | |