Merge pull request #5 from Tony0410/codex/preview-app-in-web-browser

Add example env file and clarify local setup
This commit is contained in:
Anthony
2025-11-27 21:36:23 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
# Copy this file to .env.local and set your Gemini API key
VITE_API_KEY=your_key_here

View File

@@ -15,6 +15,6 @@ View your app in AI Studio: https://ai.studio/apps/drive/1a8wkyYOUvPDWvUXbrtN2dz
1. Install dependencies: 1. Install dependencies:
`npm install` `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: 3. Run the app:
`npm run dev` `npm run dev`