-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Create quick-start-btpanel.md #5274
Conversation
在国内有大部分用户都在使用宝塔面板管理服务器,因此增加使用宝塔面板部署的教程,可视化的部署文档可以帮助用户更加便捷的部署apollo
WalkthroughThe changes include the addition of new documentation entries in both English and Chinese for deploying the Apollo application using aaPanel and BTPanel, respectively. The English sidebar has been updated to link to a new guide on deploying Apollo with aaPanel, while the Chinese sidebar has been updated to link to a guide for BTPanel. Each guide provides detailed installation and configuration steps tailored to their respective environments. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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 (
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
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: 3
🧹 Outside diff range and nitpick comments (3)
docs/zh/deployment/quick-start-btpanel.md (3)
1-3
: Remove extra blank line and consider adding metadata.The document could benefit from better formatting and consistency:
- Remove the extra blank line at the start
- Consider adding front matter metadata (like other docs) to help with documentation organization
- - # 宝塔面板(适用9.2.0及以上的版本)快速部署Apollo +--- +title: 使用宝塔面板快速部署Apollo +sidebar_label: 宝塔面板部署 +--- + +# 宝塔面板(适用9.2.0及以上的版本)快速部署Apollo
4-6
: Add system requirements and version compatibility details.The preparation section should include:
- Supported operating systems
- Minimum system requirements (CPU, RAM, disk space)
- Specific BT Panel version compatibility notes
16-18
: Add security considerations and detailed reverse proxy setup.The notes section should address:
- Security implications of enabling external access
- Step-by-step reverse proxy configuration
- SSL/TLS setup recommendations
- Network security best practices
请参考 #4283 增加 sidebar 链接以及英文说明 |
docs: add new doc
已参考更新 |
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: 8
🧹 Outside diff range and nitpick comments (4)
docs/zh/deployment/third-party-tool-btpanel.md (1)
3-7
: Consider adding system requirements to prerequisites.The prerequisites section should include:
- Minimum system requirements (CPU, RAM, disk space)
- Supported operating systems
- Network requirements (if any)
docs/en/deployment/third-party-tool-btpanel.md (3)
17-17
: Remove redundant titleThis line duplicates the title from the beginning of the document.
-aaPanel(Applicable versions 7.0.11 and above) Deployment guidelines
34-34
: Improve sentence structureThe sentence structure needs improvement:
-The domain name is optional, if the domain name is filled, it can be managed through [Website]--> [Proxy Project], and you do not need to check [Allow external access] after filling in the domain name, otherwise you need to check it before you can access it through the port +The domain name is optional. If a domain name is provided, it can be managed through [Website] --> [Proxy Project]. In this case, you do not need to check [Allow external access]. However, if no domain name is provided, you must check [Allow external access] to enable port-based access.🧰 Tools
🪛 LanguageTool
[typographical] ~34-~34: The word “otherwise” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...nal access] after filling in the domain name, otherwise you need to check it before you can acc...(THUS_SENTENCE)
40-46
: Fix list indentationThe unordered list items should have consistent indentation. Apply the following formatting:
-- Name: application name, default `Apollo-characters` -- Version selection: default `latest` -- Domain name: If you need to access directly through the domain name, please configure the domain name here and resolve the domain name to the server -- Allow external access: If you need direct access through `IP+Port`, please check. If you have set up a domain name, please do not check here. -- Web port: Default `8070`, can be modified by yourself -- Communication port: Default `8080`, can be modified by yourself -- Metadata port: Default `8090`, can be modified by yourself +- Name: application name, default `Apollo-characters` +- Version selection: default `latest` +- Domain name: If you need to access directly through the domain name, please configure the domain name here and resolve the domain name to the server +- Allow external access: If you need direct access through `IP+Port`, please check. If you have set up a domain name, please do not check here. +- Web port: Default `8070`, can be modified by yourself +- Communication port: Default `8080`, can be modified by yourself +- Metadata port: Default `8090`, can be modified by yourself🧰 Tools
🪛 Markdownlint
40-40: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
41-41: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
42-42: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
43-43: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
44-44: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
45-45: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
46-46: Expected: 0; Actual: 2
Unordered list indentation(MD007, ul-indent)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (4)
docs/en/_sidebar.md
(1 hunks)docs/en/deployment/third-party-tool-btpanel.md
(1 hunks)docs/zh/_sidebar.md
(1 hunks)docs/zh/deployment/third-party-tool-btpanel.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/en/deployment/third-party-tool-btpanel.md
[typographical] ~34-~34: The word “otherwise” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...nal access] after filling in the domain name, otherwise you need to check it before you can acc...
(THUS_SENTENCE)
🪛 Markdownlint
docs/en/deployment/third-party-tool-btpanel.md
40-40: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
41-41: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
42-42: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
43-43: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
44-44: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
45-45: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
46-46: Expected: 0; Actual: 2
Unordered list indentation
(MD007, ul-indent)
3-3: null
Multiple spaces after hash on atx style heading
(MD019, no-multiple-space-atx)
🔇 Additional comments (2)
docs/zh/_sidebar.md (1)
16-16
: LGTM! The sidebar entry is well-structured.
The new entry for BTPanel deployment is correctly placed under the third-party tools section and follows the existing documentation pattern.
Let's verify the existence of both Chinese and English documentation files:
✅ Verification successful
✅ Documentation files exist for both languages as expected
The verification confirms that both the Chinese and English documentation files exist at their expected locations:
docs/zh/deployment/third-party-tool-btpanel.md
docs/en/deployment/third-party-tool-btpanel.md
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify the existence of both Chinese and English documentation files
# Expected: Both files should exist as mentioned in the AI summary
echo "Checking for Chinese documentation file..."
fd "third-party-tool-btpanel.md" docs/zh/deployment/
echo "Checking for English documentation file..."
fd "third-party-tool-btpanel.md" docs/en/deployment/
Length of output: 389
docs/en/_sidebar.md (1)
16-16
: Clarify panel naming and verify documentation path.
There are inconsistencies in the naming of the panel:
- PR title and description mention "BTPanel" and "Baota panel"
- The sidebar entry refers to "aaPanel"
- The documentation path contains "btpanel"
Please clarify if these refer to the same panel and ensure consistent naming across documentation.
Let's verify the existence of the referenced documentation file:
✅ Verification successful
Naming is consistent across documentation
The naming is actually consistent across the documentation:
- English version correctly uses "aaPanel" throughout (international branding)
- Chinese version uses "宝塔面板" (Baota Panel - local branding)
- Both refer to the same product, as evidenced by the similar content structure and official website links
- The file path using "btpanel" is just a technical identifier and doesn't affect user-facing content
The documentation exists and maintains proper localization conventions for both markets.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check if the referenced documentation file exists
# Expected: File should exist at the specified path
# Test 1: Check if the documentation file exists
if [ -f "docs/en/deployment/third-party-tool-btpanel.md" ]; then
echo "Documentation file exists"
else
echo "Warning: Documentation file not found"
fi
# Test 2: Search for any files containing btpanel or aapanel
fd -i "btpanel|aapanel" docs/
Length of output: 246
Script:
#!/bin/bash
# Let's check the content of both files to understand the naming consistency
echo "=== English Version ==="
head -n 10 docs/en/deployment/third-party-tool-btpanel.md
echo -e "\n=== Chinese Version ==="
head -n 10 docs/zh/deployment/third-party-tool-btpanel.md
# Search for panel naming references in both files
echo -e "\n=== Panel Name References ==="
rg -i "panel|宝塔|aaPanel|btpanel|baota" docs/en/deployment/third-party-tool-btpanel.md docs/zh/deployment/third-party-tool-btpanel.md
Length of output: 2672
docs: Modify image path
I have read the CLA Document and I hereby sign the CLA |
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: 2
🧹 Outside diff range and nitpick comments (2)
docs/en/deployment/third-party-tool-btpanel.md (2)
3-4
: Improve content organizationThe installation instruction is duplicated in the prerequisites section. Consider removing it here and keeping it only in the prerequisites section for better content organization.
- Go to [aaPanel official website](https://www.aapanel.com/new/download.html), Select the script to download and install - (Skip this step if you already have it installed)
44-44
: Add verification steps for successful initializationThe initialization step should include how to verify successful completion:
- What logs to check
- What indicators show successful initialization
- How to troubleshoot common issues
Add verification steps:
6. After submission, the panel will automatically initialize the application, which will take about `1-3` minutes. It can be accessed after the initialization is completed. + + To verify successful initialization: + - Check the Docker container status in aaPanel + - Verify all services are running: `apollo-configservice`, `apollo-adminservice`, and `apollo-portal` + - Check container logs for any error messages + + Common issues: + - If initialization takes longer than 3 minutes, check the container logs + - If any service fails to start, ensure all ports are available
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
docs/en/deployment/third-party-tool-btpanel.md
(1 hunks)docs/zh/deployment/third-party-tool-btpanel.md
(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- docs/zh/deployment/third-party-tool-btpanel.md
🧰 Additional context used
🪛 Markdownlint
docs/en/deployment/third-party-tool-btpanel.md
1-1: null
Multiple spaces after hash on atx style heading
(MD019, no-multiple-space-atx)
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: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
docs/en/deployment/third-party-tool-btpanel.md
(1 hunks)docs/zh/deployment/third-party-tool-btpanel.md
(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- docs/zh/deployment/third-party-tool-btpanel.md
🧰 Additional context used
🪛 Markdownlint
docs/en/deployment/third-party-tool-btpanel.md
1-1: null
Multiple spaces after hash on atx style heading
(MD019, no-multiple-space-atx)
🔇 Additional comments (1)
docs/en/deployment/third-party-tool-btpanel.md (1)
52-70
: LGTM! Well-documented access methods
The access methods section is comprehensive and includes:
- Clear instructions for both domain and IP-based access
- HTTPS configuration steps
- Security considerations
docs: Fix formatting and remove duplicate content
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.
LGTM
在国内有大部分用户都在使用宝塔面板管理服务器,因此增加使用宝塔面板部署的教程,可视化的部署文档可以帮助用户更加便捷的部署apollo
What's the purpose of this PR
XXXXX
Which issue(s) this PR fixes:
Fixes #
Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Documentation