Skip to content
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

Update Docs: AWS EKS doc #170

Merged
merged 3 commits into from
Sep 28, 2024
Merged

Update Docs: AWS EKS doc #170

merged 3 commits into from
Sep 28, 2024

Conversation

emplam27
Copy link
Contributor

@emplam27 emplam27 commented Sep 27, 2024

What this PR does / why we need it?

Modify the content of AWS EKS doc.

  • Fix ingress.alb => ingress.awsAlb in the Helm cli command --set.
  • Update yorkie test example with yorkie-js-sdk vanilla-quill instead of the CodePair.

Any background context you want to provide?

What are the relevant tickets?

Fixes #

Checklist

  • Added relevant tests or not required
  • Didn't break anything

Summary by CodeRabbit

  • Documentation
    • Updated references and commands for the Yorkie collaborative editing tool.
    • Clarified the tool used for demonstrations from "CodePair" to "Quill Example."
    • Revised Helm installation commands for AWS Application Load Balancer settings.
    • Adjusted environment variable naming and setup instructions.
    • Provided updated commands for cloning the repository and starting the application.

@emplam27 emplam27 self-assigned this Sep 27, 2024
Copy link

coderabbitai bot commented Sep 27, 2024

Walkthrough

The changes primarily involve updates to documentation regarding the Yorkie collaborative editing tool. Key modifications include renaming references from "CodePair" to "Quill Example" and adjusting Helm installation commands to reflect new naming conventions for AWS settings. The testing section now emphasizes the use of the "yorkie-js-sdk" and updates commands related to repository structure and environment variables. Additionally, instructions for starting the application have been revised to use "Quill" and the local server address has been changed.

Changes

Files Change Summary
docs/self-hosted-server/aws-eks.mdx - Updated references from "CodePair" to "Quill Example" and "yorkie-js-sdk".
- Changed ingress configuration from ingress.alb.enabled to ingress.awsAlb.enabled.
- Modified commands for cloning and changing directories to reflect new repository structure.
- Renamed environment variable from VITE_APP_YORKIE_RPC_ADDR to VITE_YORKIE_API_ADDR.
- Updated application start instructions and local server address from http://localhost:3000 to http://localhost:5173.
- Added references to collaborative tools developed with Yorkie.

Poem

🐇 In fields of code where rabbits play,
The tools we use have found their way.
From CodePair's name to Quill's embrace,
We hop along in a joyful race.
With Yorkie’s might, we collaborate,
In harmony, we innovate! 🌟


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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a 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

🧹 Outside diff range and nitpick comments (3)
docs/self-hosted-server/aws-eks.mdx (3)

110-111: LGTM: Updated Helm chart configuration

The change from ingress.alb.enabled to ingress.awsAlb.enabled correctly aligns with the PR objectives and likely reflects an update in the Helm chart's configuration options.

Consider adding a brief comment explaining the reason for this change, such as:

+ # Note: `ingress.awsAlb.enabled` is used instead of `ingress.alb.enabled` due to recent changes in the Helm chart configuration
    --set ingress.awsAlb.enabled=true \
    --set ingress.awsAlb.certArn={YOUR_CERTIFICATE_ARN}

This would help users understand why the command differs from potentially outdated external resources they might encounter.

Also applies to: 119-120


171-173: LGTM: Updated testing instructions

The changes accurately reflect the switch from "CodePair" to "yorkie-js-sdk" as mentioned in the PR objectives. The updated repository URL and installation commands provide clear and accurate instructions for users.

Consider adding a brief note about the use of pnpm instead of npm, as some users might not be familiar with it. For example:

+ # Note: This project uses pnpm as the package manager. If you don't have pnpm installed, you can install it with: npm install -g pnpm
$ pnpm i

This would help users who are not familiar with pnpm to set up their environment correctly.

Also applies to: 176-176, 179-183, 186-190


192-192: LGTM: Updated environment variable and start command

The changes to the environment variable name, start command, and command output accurately reflect the updates in the project structure and tooling. These updates align well with the PR objectives and previous changes in the document.

To improve clarity, consider adding a brief explanation of the change in the environment variable name. For example:

- VITE_APP_YORKIE_RPC_ADDR=http://<YOUR_API_DOMAIN_NAME or IP_ADDRESS>
+ # Note: The environment variable has been renamed to better reflect its purpose
+ VITE_YORKIE_API_ADDR=http://<YOUR_API_DOMAIN_NAME or IP_ADDRESS>

This would help users understand the reason for the change and prevent confusion if they encounter older documentation or examples.

Also applies to: 195-199, 201-213

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 286d5cb and c04c4fa.

📒 Files selected for processing (1)
  • docs/self-hosted-server/aws-eks.mdx (3 hunks)
🔇 Additional comments (5)
docs/self-hosted-server/aws-eks.mdx (5)

11-11: LGTM: Updated example reference

The change from "CodePair" to "Quill Example" accurately reflects the updated test example mentioned in the PR objectives. This improves clarity for users following the documentation.


162-166: LGTM: Updated pod status output

The updated output for the kubectl get pods command accurately reflects the expected state of the Yorkie cluster after installation. This helps users verify that their installation was successful.


216-219: LGTM: Updated access instructions and added reference to more examples

The changes provide clear instructions for accessing the Quill example and helpfully direct users to additional examples in the yorkie-js-sdk repository. This addition enhances the documentation by offering users more resources to explore Yorkie's capabilities.


223-223: LGTM: Added conclusion to installation and testing section

The addition of this line provides a clear conclusion to the installation and testing process. It helps users understand that they have successfully completed the main steps of the tutorial.


Line range hint 1-219: Overall: Excellent updates to the AWS EKS Installation documentation

The changes made to this documentation file significantly improve its accuracy and usability. The updates consistently reflect the switch from CodePair to the yorkie-js-sdk with vanilla-quill, as stated in the PR objectives. The Helm chart configuration corrections and the detailed instructions for testing the Yorkie cluster provide users with a clear, up-to-date guide for installation and usage.

Key improvements include:

  1. Updated references to the new example (Quill) throughout the document.
  2. Corrected Helm CLI commands with the new ingress.awsAlb.enabled option.
  3. Detailed and accurate instructions for testing the Yorkie cluster using yorkie-js-sdk.
  4. Updated environment variable names and command outputs to reflect current project structure.
  5. Added references to additional examples, enhancing the learning resources for users.

These changes collectively result in a more reliable and comprehensive guide for users setting up Yorkie on AWS EKS.

Copy link
Member

@krapie krapie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution.

@krapie krapie merged commit 92b8193 into main Sep 28, 2024
2 checks passed
@krapie krapie deleted the emplam27/fix-aws-eks-doc branch September 28, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants