From e074e957d1b33c9760e06e3bb345bf00d8f96b20 Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Sat, 6 Sep 2025 10:24:48 +0800 Subject: [PATCH] Update README --- README.md | 13 +++++++++---- README_CN.md | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ec81b3d3..bb321387 100644 --- a/README.md +++ b/README.md @@ -499,10 +499,15 @@ docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.ya 1. Create a `config.yaml` from `config.example.yaml` and customize it. -2. Build and start the services using Docker Compose: - ```bash - docker compose up -d --build - ``` +2. Build and start the services using the build scripts: + - For Windows (PowerShell): + ```powershell + ./docker-build.ps1 + ``` + - For Linux/macOS: + ```bash + bash docker-build.sh + ``` 3. To authenticate with providers, run the login command inside the container: - **Gemini**: `docker compose exec cli-proxy-api /CLIProxyAPI/CLIProxyAPI -no-browser --login` diff --git a/README_CN.md b/README_CN.md index 3fabb883..ea6b4201 100644 --- a/README_CN.md +++ b/README_CN.md @@ -512,10 +512,15 @@ docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.ya 1. 从 `config.example.yaml` 创建一个 `config.yaml` 文件并进行自定义。 -2. 使用 Docker Compose 构建并启动服务: - ```bash - docker compose up -d --build - ``` +2. 使用构建脚本构建并启动服务: + - Windows (PowerShell): + ```powershell + ./docker-build.ps1 + ``` + - Linux/macOS: + ```bash + bash docker-build.sh + ``` 3. 要在容器内运行登录命令进行身份验证: - **Gemini**: `docker compose exec cli-proxy-api /CLIProxyAPI/CLIProxyAPI -no-browser --login`