vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
6.39k stars 1.3k forks source link

Chore: Improve onboarding #304

Closed dijonmusters closed 7 months ago

dijonmusters commented 7 months ago
vercel[bot] commented 7 months ago

@dijonmusters is attempting to deploy a commit to the Vercel Solutions Team on Vercel.

A member of the Team first needs to authorize it.

dijonmusters commented 7 months ago

cc: @dalkommatt @chriscarrollsmith @thorwebdev

chriscarrollsmith commented 6 months ago

@dijonmusters since you removed the supabase init step and prefilled config.toml, I ran into this error message when I tried to start a local Supabase instance:

'Error evaluating "env(SUPABASE_AUTH_EXTERNAL_GITHUB_CLIENT_ID)": environment variable SUPABASE_AUTH_EXTERNAL_GITHUB_CLIENT_ID is unset.'

When I run supabase init, my config.toml generates with "env(SUPABASE_AUTH_EXTERNAL_APPLE_SECRET)" instead of Github. Not sure why, because Github is actually what I use for Supabase login, not Apple. But anyway, pre-generating config.toml seems like it may not be fully reliable.

chriscarrollsmith commented 6 months ago

Ohhh, never mind; I just noticed that there's a new, separate .env file that controls this.