From b310c090ce8bdffe7cfb875cbfa9401da74528a3 Mon Sep 17 00:00:00 2001 From: Anthony <47945770+Tony0410@users.noreply.github.com> Date: Thu, 27 Nov 2025 21:36:09 +0800 Subject: [PATCH] Add example env file and clarify setup steps --- .env.example | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ea91a3c --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +# Copy this file to .env.local and set your Gemini API key +VITE_API_KEY=your_key_here diff --git a/README.md b/README.md index ed19cfd..32cba40 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,6 @@ View your app in AI Studio: https://ai.studio/apps/drive/1a8wkyYOUvPDWvUXbrtN2dz 1. Install dependencies: `npm install` -2. Set the `VITE_API_KEY` in [.env.local](.env.local) to your Gemini API key (e.g., `VITE_API_KEY=your_key_here`) +2. Copy `.env.example` to `.env.local` and set `VITE_API_KEY` to your Gemini API key (e.g., `VITE_API_KEY=your_key_here`). 3. Run the app: `npm run dev`