logo
0
0
WeChat Login
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/1749ZvxINe0XR3AeZ5-wxvK_2EUrNAUZQ

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

Deploy to Firebase

This project is configured for deployment to Firebase Hosting.

Prerequisites:

  • firebase-tools (Install via npm install -g firebase-tools)
  • A Firebase project created in the Firebase Console

Steps:

  1. Login to Firebase:

    npx firebase login
  2. Build the Project: Generate the production build in the dist directory.

    npm run build
  3. Deploy: Upload the build artifacts to Firebase.

    npx firebase deploy
  4. Verify: The terminal will output your unique Hosting URL (e.g., https://architecture-xxxx.web.app).

Configuration:

About

No description, topics, or website provided.
Language
TypeScript65.9%
Python14.7%
JavaScript11.2%
HTML2.8%
Others5.4%