-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
up #3
Conversation
WalkthroughThe pull request introduces updates to the Chinese documentation, focusing on two key areas: the FAQ section and the installation guide. In the FAQ, new troubleshooting sections are added to address common issues like DNS lookup errors and plugin usage problems. The installation guide is refined with clearer, more concise instructions for backend environment setup, including simplified steps for configuring environment files and Docker deployment. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (4)
docs/zh/faq/index.md (2)
5-7
: Enhance the DNS Lookup error troubleshooting steps.While the current guidance points users to check MySQL and Redis configuration, it would be more helpful to:
- Include specific steps to verify the connectivity
- Add common configuration examples
- List potential solutions for different scenarios
## 安装成功后报错 `DNS Lookup resolve failed` -检查 `.env` 文件中的 `mysql` `redis` 是否正确,能否正常连接 +检查以下内容: + +1. 确认 `.env` 文件中的配置: + ```ini + # MySQL配置示例 + DB_HOST=localhost + DB_PORT=3306 + + # Redis配置示例 + REDIS_HOST=localhost + REDIS_PORT=6379 + ``` + +2. 验证连接: + - MySQL: 使用命令行工具测试连接 + - Redis: 使用 redis-cli 测试连接 + +3. 常见解决方案: + - 检查服务是否启动 + - 验证防火墙设置 + - 确认主机名解析正确
11-13
: Add structure to the plugin support instructions.The current instructions could be more organized to better guide users through the support process.
## 购买的插件无法使用 -如果是付费插件请在QQ群或微信群联系管理员,提供订单号,管理员会拉你进对应的插件售后群 +### 获取支持 +1. 准备以下信息: + - 订单号 + - 问题描述 + - 错误信息截图(如有) + +2. 联系方式: + - QQ群:[群号] + - 微信群:[添加方式] + +3. 后续流程: + 管理员确认后会将您加入对应插件的售后支持群docs/zh/guide/start/fast-install.md (2)
15-15
: Add environment prerequisites and validation steps.The
.env
configuration instructions should include prerequisites and verification steps.-下载成功后复制项目目录下的 `.env.example` 文件为 `.env` 文件,并配置好数据库和 redis 的配置项 +### 环境配置 + +1. 环境要求: + - PHP >= 8.0 + - MySQL >= 5.7 + - Redis >= 6.0 + +2. 配置步骤: + - 复制 `.env.example` 文件为 `.env` + - 配置数据库和 Redis 连接信息 + +3. 验证配置: + ```bash + # 验证数据库连接 + php bin/hyperf.php db:test + + # 验证Redis连接 + php bin/hyperf.php redis:test + ``` + +遇到问题?请参考 [常见问题 - DNS Lookup错误](../faq/index.md#安装成功后报错-dns-lookup-resolve-failed)
33-35
: Add Docker environment validation steps.The Docker setup instructions should include steps to verify the environment is working correctly.
```shell docker-compose up -d + +# 验证服务状态 +docker-compose ps + +# 查看服务日志 +docker-compose logs</blockquote></details> </blockquote></details> <details> <summary>📜 Review details</summary> **Configuration used: CodeRabbit UI** **Review profile: CHILL** **Plan: Pro** <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 57ee1a47d4336cbfa40b324bc54b390c3589048d and 4c65882b1e0f4f6313a762176339dd1c6dc0bbb8. </details> <details> <summary>📒 Files selected for processing (2)</summary> * `docs/zh/faq/index.md` (2 hunks) * `docs/zh/guide/start/fast-install.md` (2 hunks) </details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
Summary by CodeRabbit
DNS Lookup resolve failed
error after installation.env
configuration steps