This is a React project built with Vite.
- Make sure you have Node.js installed.
- Clone the repository.
- Install dependencies:
npm install
- Set the
GEMINI_API_KEYin.env.localto your Gemini API key.
Start the development server:
npm run devThis project is configured with a GitHub Action (.github/workflows/deploy.yml) to automatically deploy to GitHub Pages whenever code is pushed to the main branch.
To enable GitHub Pages:
- Go to your repository settings on GitHub.
- Navigate to "Pages" under Code and automation.
- Under "Build and deployment", set the source to "GitHub Actions".
- Go to "Secrets and variables" -> "Actions".
- Click "New repository secret".
- Add
GEMINI_API_KEYwith your actual API key so the Github Action can build the app successfully.