The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(docs): clarify path to .env file
Qiao Hancd23cc6e66a8
diff --git a/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdx b/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdxindex b50724d29cb..8c725fb0933 100644--- a/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdx+++ b/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdx@@ -6,20 +6,16 @@ export const meta = {description: 'How to use environment variables in config.toml with the Supabase CLI.',}-The Supabase CLI is capable of utilizing environment variables stored in our project's root directory's `.env` file within the `config.toml` file.+The Supabase CLI is capable of utilizing environment variables from `.env` file in our project's root directory.-We can reference the environment variable by using the `env()` function.--Inside of our `.env` file we add the environment variable as we normally would--```bash+```bash .envGITHUB_CLIENT_ID=""GITHUB_SECRET=""```-And then reference them inside of our `config.toml`+We can reference the environment variable by using the `env()` function within the `supabase/config.toml` file.-```toml+```toml supabase/config.toml[auth.external.github]enabled = trueclient_id = "env(GITHUB_CLIENT_ID)"@@ -28,7 +24,7 @@ secret = "env(GITHUB_SECRET)"redirect_uri = ""```-These same environment variables will be referenced by the `supabase start` command from the Supabase CLI.+These values will be substituted at runtime by the CLI when running the `supabase start` command.export const Page = ({ children }) => <Layout meta={meta} children={children} />