|
7 | 7 | <a href="../README.md">简体中文</a> | <strong>English</strong> |
8 | 8 | </p> |
9 | 9 | <p align="center"><img src="https://img.shields.io/badge/License-CNC--1.0-red.svg" /> <img src="https://img.shields.io/badge/Python-3.11-3776AB?logo=python&logoColor=white" /> <img src="https://img.shields.io/badge/FastAPI-0.110-009688?logo=fastapi&logoColor=white" /> <img src="https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js&logoColor=white" /> <img src="https://img.shields.io/badge/Vite-7-646CFF?logo=vite&logoColor=white" /> <img src="https://img.shields.io/badge/Docker-ready-2496ED?logo=docker&logoColor=white" /></p> |
10 | | -<p align="center"><strong>Current stable release: v0.3.0</strong> | <a href="https://github.com/yukkcat/gemini-business2api/releases/tag/v0.3.0">Release Notes</a> | <a href="https://github.com/yukkcat/gemini-business2api/releases">All Releases</a></p> |
| 10 | +<p align="center"><strong>Current stable release: v0.3.1</strong> | <a href="https://github.com/yukkcat/gemini-business2api/releases/tag/v0.3.1">Release Notes</a> | <a href="https://github.com/yukkcat/gemini-business2api/releases">All Releases</a></p> |
11 | 11 |
|
12 | 12 | > [!IMPORTANT] |
13 | 13 | > Since **v0.3.0**, the repository mainline has been fully narrowed into a **2API-focused mainline**: |
@@ -152,33 +152,36 @@ Enable `refresh-worker` if needed: |
152 | 152 | docker compose --profile refresh up -d |
153 | 153 | ``` |
154 | 154 |
|
155 | | -### Option 2: Interactive Installer (Linux / macOS / WSL / Git Bash) |
| 155 | +### Option 2: Interactive installer script |
156 | 156 |
|
157 | | -```bash |
158 | | -curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash |
159 | | -``` |
| 157 | +The interactive installer is intended for guided command-line setup. During execution it prompts for the following configuration items: |
160 | 158 |
|
161 | | -Pin the current stable release: |
| 159 | +- whether to use **Docker deployment** or **local Python mode** |
| 160 | +- which service port to use |
| 161 | +- the `ADMIN_KEY` |
| 162 | +- the `DATABASE_URL` |
| 163 | +- **whether to enable refresh-worker** |
| 164 | + |
| 165 | +Default install: |
162 | 166 |
|
163 | 167 | ```bash |
164 | | -curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/v0.3.0/deploy/install.sh | sudo bash |
| 168 | +curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash |
165 | 169 | ``` |
166 | 170 |
|
167 | | -Enable `refresh-worker`: |
| 171 | +Pin to the current stable release: |
168 | 172 |
|
169 | 173 | ```bash |
170 | | -curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash -s -- --with-refresh |
| 174 | +curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/v0.3.1/deploy/install.sh | sudo bash |
171 | 175 | ``` |
172 | 176 |
|
173 | | -### Option 3: Local Python Development |
| 177 | +Preset `refresh-worker` to enabled by default: |
174 | 178 |
|
175 | 179 | ```bash |
176 | | -git clone https://github.com/yukkcat/gemini-business2api.git |
177 | | -cd gemini-business2api |
178 | | -bash deploy/install.sh --mode python |
| 180 | +curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash -s -- --with-refresh |
179 | 181 | ``` |
180 | 182 |
|
181 | | -Best for development, debugging, and local code iteration. |
| 183 | +> `--with-refresh` only presets the default answer for enabling refresh-worker. |
| 184 | +> It does not represent a separate installation flow. |
182 | 185 |
|
183 | 186 | --- |
184 | 187 |
|
|
0 commit comments