Heliumu

GHBanner

Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/drive/1naq_zGXe4Dzdak6qU2TtD1kQRjhtmlOt

Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev

npx next dev –webpack

npm run build –webpack

npm run build

导出静态站点到 out(使用 long-form 选项)

npx next export –outdir out

或在 package.json 中添加脚本,然后运行

在 scripts 中增加: “export”: “next export –outdir out”

npm run export