Prerequisites
- bun
- docker (with wsl2 backend on windows)
- scoop (on windows if you want to install supabase cli globally)
git clone https://github.com/libresoul/blindpick.git
cd blindpick
bun install
cp .env.example .env # add your secrets accordingly
bun dev for local edge functions, make sure these are set in your env too:
OPENAI_API_KEYEDGE_SUPABASE_URLEDGE_SERVICE_ROLE_KEY
Supbase cli and docker are required to setting up the local environment. On Windows Installing the cli with scoop is recommended.
starting local environment
supabase startresetting db and running exsisting migrations
supabase db resetcreating a new migration from db diff
supabase db diff -f <migration_name>