Skip to content

zakandrewking/brainshare-golden-eagle

Repository files navigation

Brainshare

Run locally

Tasks (in .vscode/tasks.json) to start a local instance:

  • [supabase] start
  • [inngest] dev
  • need a local y-sweet server task

Debug configurations (in .vscode/launch.json):

  • Frontend - runs against all local services
  • Frontend (prod db) - runs against the production database, but otherwise local services (local inngest)

NOTE: Currently, both of those configurations run against the production y-sweet server.

Deploy

To sync config:

supabase link

Manual steps for the production server:

  • set realtime settings to disable public access

Seed production

To create storage buckets in the production instance, run:

npx supabase seed buckets --linked

See https://github.com/orgs/supabase/discussions/12390#discussioncomment-10260149

Developing offline

  1. Use supabase-cli cache (is there a better way? install globally?)
npm config ls -l|rg cache
fd supabase .../.npm/_npx/
.../.npm/_npx/.../node_modules/supabase/bin/supabase db reset

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors