From 14270865ce3550ecf90b92fc8c60f7af9b112716 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 21 Oct 2024 10:37:00 -0700 Subject: [PATCH] fix: Example env vars --- .env.example | 12 ++---------- README.md | 10 ++++++++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.env.example b/.env.example index e10ad637..1cd69e95 100644 --- a/.env.example +++ b/.env.example @@ -9,18 +9,10 @@ ANTHROPIC_API_KEY= OPENAI_API_KEY= # LangGraph Deployment, or local development server via LangGraph Studio. -LANGGRAPH_API_URL= +# If running locally, this URL should be set in the `constants.ts` file. +# LANGGRAPH_API_URL= # Supabase for authentication -# Private key -SUPABASE_SERVICE_ROLE_KEY= # Public keys NEXT_PUBLIC_SUPABASE_URL= NEXT_PUBLIC_SUPABASE_ANON_KEY= - -# For OAuth. Only use in production/staging. Should be: -# /auth/callback -NEXT_PUBLIC_OAUTH_REDIRECT_URL= -# For email/password login. Should be: -# /auth/confirm -NEXT_PUBLIC_EMAIL_REDIRECT_URL= diff --git a/README.md b/README.md index 35be328f..7a35a7b1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Then [install LangGraph Studio](https://studio.langchain.com/) which is required After that, copy the `.env.example` file contents into `.env` and set the required values: ```bash -# LangSmith tracing (optional, but recommended.) +# LangSmith tracing LANGCHAIN_TRACING_V2=true LANGCHAIN_API_KEY= @@ -52,7 +52,13 @@ ANTHROPIC_API_KEY= OPENAI_API_KEY= # LangGraph Deployment, or local development server via LangGraph Studio. -LANGGRAPH_API_URL= +# If running locally, this URL should be set in the `constants.ts` file. +# LANGGRAPH_API_URL= + +# Supabase for authentication +# Public keys +NEXT_PUBLIC_SUPABASE_URL= +NEXT_PUBLIC_SUPABASE_ANON_KEY= ``` Finally, start the development server: