38 lines
1019 B
Markdown
38 lines
1019 B
Markdown
<div align="center">
|
|
<img width="1200" height="475" alt="GHBanner" src="https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6" />
|
|
</div>
|
|
|
|
# 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/1ZPnGbhaEnyhIyqs2rYhcPXHg8VACWeq0
|
|
|
|
## Run Locally
|
|
|
|
**Prerequisites:** Node.js
|
|
|
|
|
|
1. Install dependencies:
|
|
`npm install`
|
|
2. Set the `GEMINI_API_KEY` in the central `.env` file in the project's root directory.
|
|
3. Run the app:
|
|
`npm run dev`
|
|
|
|
## Docker Deployment (Plug & Play)
|
|
|
|
The **B2B Marketing Assistant** is integrated into the central `docker-compose.yml`.
|
|
|
|
### Start Service
|
|
```bash
|
|
# Build and start
|
|
docker-compose up -d --build b2b-marketing-assistant
|
|
```
|
|
|
|
### Details
|
|
* **External Port:** `8092`
|
|
* **Subpath:** `/b2b/`
|
|
* **Persistence:** Project data is stored in the `b2b_marketing_data` Docker volume.
|
|
* **Base URL:** The frontend is served under the `/b2b/` prefix via Nginx.
|
|
|