Install Git, Node, bun and Docker, then:
git clone git@github.com:xvvvyz/llog.git
cd llog
bun i
bun db:start # outputs supabase url & key
Add the following to your .env
file:
# required
NEXT_PUBLIC_SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>
NEXT_PUBLIC_SUPABASE_URL=<SUPABSE_API_URL>
# optional
NEXT_PUBLIC_SUPABASE_PRO=1
Generate types and start the dev server:
bun db:types
bun start
If you modify the database schema:
bun db:types
bun db:diff -- migration-description
- Update next.config.js remotePatterns
- Update auth providers
- Update email templates
- Update url config
- Add custom SMTP server
- Enable realtime (notifications)
- Remove GraphQL api
- Github environment secrets:
- NEXT_PUBLIC_SUPABASE_ANON_KEY
- NEXT_PUBLIC_SUPABASE_PRO
- NEXT_PUBLIC_SUPABASE_URL
- SUPABASE_DB_PASSWORD
- SUPABASE_PROJECT_ID