.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
LANGCHAIN_API_KEY
secret
LANGCHAIN_TRACING_V2
LANGCHAIN_PROJECT
SUPABASE_URL
Supabase keys are only used in Chapter 9 deployment examples
SUPABASE_SERVICE_ROLE_KEY
secret
brew install flyctl && fly launch --from https://github.com/langchain-ai/learning-langchain
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/langchain-ai/learning-langchain
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/langchain-ai/learning-langchain