You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run Gutsy locally, follow these steps:
1. Set up Environment Variables
Create a .env.local file in the root directory and add your Gemini API Key:
GEMINI_API_KEY=your_actual_api_key_here
(You can get a key from Google AI Studio).
2. Install Dependencies
Make sure you have pnpm installed, then run:
pnpm install
3. Run Development Server
pnpm dev
Open http://localhost:3000 in your browser.
4. Build for Production (Optional)
If you want to test the PWA features specifically (like service workers), run the production build:
pnpm build --webpack
pnpm start
Note: The --webpack flag is required because the PWA plugin currently requires Webpack to generate the service worker in this Next.js version.
Mobile Tip
Since this is a PWA, you can open the local URL on your phone (using your computer's IP) and use the "Add to Home Screen" feature to see the full "native app" experience!# gutsy