From 3d014e5866409f95ca5c5336565aa15a44f74d9e Mon Sep 17 00:00:00 2001 From: Bryan <91551702+blondon1@users.noreply.github.com> Date: Mon, 11 Aug 2025 10:15:52 -0700 Subject: [PATCH] feat: add .env.example for local development (#831) Closes #820; adds a .env.example file to document required environment variables and streamline the setup process for new developers. --------- Co-authored-by: Will Chen --- .env.example | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..310b916 --- /dev/null +++ b/.env.example @@ -0,0 +1,37 @@ +# Environment variables needed for dyad local development. +# To use, copy this file to a new file named ".env" and fill in your private keys and settings. +# Your actual .env file should NOT be committed. + +# AI Provider API Keys(Optional) +OPENAI_API_KEY= +ANTHROPIC_API_KEY= +GOOGLE_API_KEY= + + +# Local AI Model Configuration (Optional) +# Set these if you are running local AI models like Ollama or LM Studio. +# Default for Ollama is http://127.0.0.1:11434 +OLLAMA_HOST= + +# GitHub Integration (Optional) +# Needed for features that interact with GitHub repositories. +GITHUB_CLIENT_ID= +GITHUB_CLIENT_SECRET= +GITHUB_TOKEN= + + +# Apple Notarization (macOS Build Only) +# Only required if you are building and signing a release version for macOS. +APPLE_ID= +APPLE_PASSWORD= +APPLE_TEAM_ID= +SM_CODE_SIGNING_CERT_SHA1= + + +# Development & Testing Variables (Advanced) +# These are typically not needed for standard contribution. +# NODE_ENV=development +# E2E_TEST_BUILD= +# CI= +# DYAD_ENGINE_URL= +# DYAD_GATEWAY_URL= \ No newline at end of file