Skip to content

docs: fix quickstart guide with accurate setup info#15

Open
mohit-nagaraj wants to merge 1 commit intomainfrom
docs/fix-quickstart-guide
Open

docs: fix quickstart guide with accurate setup info#15
mohit-nagaraj wants to merge 1 commit intomainfrom
docs/fix-quickstart-guide

Conversation

@mohit-nagaraj
Copy link
Copy Markdown
Member

Summary

  • Add conditional prerequisites table showing Node.js 20+ / Go 1.25+ requirements per setup path
  • Clarify each dev mode — what orchcli start -d runs in Docker vs on the host
  • Fix manual setup section: working config.yaml values, correct MONGO_URI for Docker MongoDB (no auth), .env.local step for UI
  • Fix orchcli exec example: postgres -> mongodb
  • Fix Go install path: github.com/kubeorch/cli (was wrong module path)
  • Expand configuration reference table

Test plan

  • Quickstart page renders correctly on docs site
  • All code blocks are syntactically correct
  • Prerequisites table accurately reflects requirements from core/ui repos
  • Manual setup commands work end-to-end in a fresh environment

Fixes #14
Related CLI fix: KubeOrch/cli#46

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the quickstart guide with specific Node.js and Go version requirements, clarifies Docker container behavior for various development modes, and adds detailed manual setup instructions including a configuration example. Review feedback highlighted an inconsistent database name in a mongosh command and a discrepancy regarding the requirement status of the ENCRYPTION_KEY variable.

# Execute a command inside a container
orchcli exec core sh
orchcli exec ui sh
orchcli exec mongodb mongosh kubeorchestra
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The database name kubeorchestra used in this command is inconsistent with the rest of the documentation, which uses kubeorch (see lines 206, 220, and 258). Using the wrong database name in mongosh will result in an empty session, preventing users from seeing the data created by the application.

Suggested change
orchcli exec mongodb mongosh kubeorchestra
orchcli exec mongodb mongosh kubeorch

|----------|----------|-------------|
| `MONGO_URI` | Yes | MongoDB connection string (e.g., `mongodb://localhost:27017/kubeorch`) |
| `JWT_SECRET` | Yes | Secret key for signing JWT tokens |
| `ENCRYPTION_KEY` | No | Key for encrypting cluster credentials at rest |
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a discrepancy between this table and the configuration example provided on line 222. The ENCRYPTION_KEY is marked as not required ('No') here, but it is included in the 'minimal values for local development' section. Since the quickstart guide includes a step to 'Add a Cluster' (line 70), which typically requires this key to encrypt credentials, it should be marked as 'Yes' to ensure a smooth setup experience.

- Add conditional prerequisites table (Node.js 20+, Go 1.25+ per setup path)
- Clarify what orchcli start -d runs in Docker vs host for each dev mode
- Fix manual setup: add working config.yaml values, correct MONGO_URI
  for Docker-based MongoDB (no auth), add .env.local step for UI
- Fix exec example: postgres -> mongodb
- Expand Required Core Configuration table with optional fields
- Fix Go install command to use correct module path (github.com/kubeorch/cli)

Fixes #14
@mohit-nagaraj mohit-nagaraj force-pushed the docs/fix-quickstart-guide branch from 5a4dd0d to b36636c Compare April 12, 2026 04:04
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.

Quickstart guide has inaccurate setup instructions and missing prerequisites

1 participant