From bef5397dbc8755c9feb731c59c0dbf48b86924f5 Mon Sep 17 00:00:00 2001 From: James Zow Date: Sun, 2 Mar 2025 15:09:35 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 2187dbb2..4f1111a4 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,17 @@ docker run -d --name eairp \ wansenai/eairp:latest ``` +### Deployment FAQ + +1. **eairp container /start.sh: no such file or directory** + +This issue is commonly caused by Windows' handling of line endings in text files, which can affect scripts like start.sh used in Docker containers. + +Before cloning the repository, configure Git to prevent automatic conversion of line endings. +```bash +git config --global core.autocrlf false +``` + ## License Licensed under either of From 48ed517f116207a28a3da66a258fd63a35e25c9d Mon Sep 17 00:00:00 2001 From: James Zow Date: Sun, 2 Mar 2025 15:11:44 +0800 Subject: [PATCH 2/3] Update README_ZH.md --- README_ZH.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README_ZH.md b/README_ZH.md index 55d1a7f0..c6ca83a4 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -119,6 +119,16 @@ docker run -d --name eairp \ wansenai/eairp:latest ``` +### 部署常见问题 + +1. **eairp container /start.sh: no such file or directory** + +此问题通常是由 `Windows` 对文本文件中行尾的处理引起的,这可能会影响容器中使用 `start.sh` 脚本。 +在克隆存储库之前,请配置 Git 以防止自动转换行尾。 +```bash +git config --global core.autocrlf false +``` + ## License 根据以下任一许可证之一,对本项目中的代码和文档进行许可: From ce6d8cabe7a55bb91c5189039de91b3139d4ca8b Mon Sep 17 00:00:00 2001 From: James Zow Date: Sun, 2 Mar 2025 15:12:32 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f1111a4..151da4a8 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ docker run -d --name eairp \ 1. **eairp container /start.sh: no such file or directory** -This issue is commonly caused by Windows' handling of line endings in text files, which can affect scripts like start.sh used in Docker containers. +This issue is commonly caused by Windows' handling of line endings in text files, which can affect scripts like `start.sh` used in Docker containers. Before cloning the repository, configure Git to prevent automatic conversion of line endings. ```bash