Make sure you've added all .env vars required before proceeding
- Docker desktop
- Deno
curl -fsSL https://deno.land/install.sh | sh
npm install
and
deno install
First, start the Supabase database.
npx supabase startIf this is your first time running this command, your container layers will download. This takes a second, so go grab some water - you're dehydrated.
Next, open a new terminal tab and serve your Supabase functions locally:
npx supabase functions serveNext, open a third tab and start the Inngest queue server:
npx inngest-cli@latest devFinally, run the Next.js development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
npm run mux-backfillThis will run the createEmbedding function for each asset in our database
npm run videos-backfill-existing # All assets
npm run videos-backfill-missing # Only assets with missing embeddings