Skip to content

TwoFrame/twoframe

Repository files navigation

TwoFrame

Design Document

Requirements

Docker

Setup

  1. Follow the instructions here to get a local instance of supabase running.

  2. Verify your supabase is up and running through docker, setup your .env file to use the local supabase urls (use supabase status to get the urls)

  3. Make sure to run npm install before running the project with npm run dev

Database Schema

  1. Configure the schema you want to use within src/db/schema.ts.
  2. npx drizzle-kit generate then npx drizzle migrate to migrate schema changes into your supabase instance