Skip to content

Conversation

@Prekshith-Microsoft
Copy link
Contributor

@Prekshith-Microsoft Prekshith-Microsoft commented Dec 12, 2025

This pull request adds and significantly expands documentation to improve the local development experience and troubleshooting for the Document Knowledge Mining Solution Accelerator. It introduces new guides for deleting Azure resources and setting up PowerShell, and greatly enhances the local setup instructions with clearer steps, OS-specific details, and troubleshooting advice.

Major documentation improvements:

  • Local development setup enhancements:

    • The LocalSetupGuide.md now includes detailed, step-by-step instructions for installing prerequisites and configuring the backend and frontend across Windows, Linux, and macOS. It covers tool installation, solution file locations, Azure role assignments, and validation steps for successful setup. [1] [2] [3] [4]
    • Added a comprehensive troubleshooting section addressing common issues on all platforms, including server response errors, permissions, Windows-specific settings, Azure authentication, and environment variable validation.
  • New documentation guides:

    • Added DeleteResourceGroup.md, a guide with screenshots for safely deleting Azure resource groups and individual resources after failed deployments, including tips for handling locked resources.
    • Added PowershellSetup.md, a step-by-step guide for adding PowerShell 7 to the PATH on Windows, including troubleshooting tips.
  • Cross-references and related documentation:

    • The updated LocalSetupGuide.md now links to related guides for deployment, resource deletion, PowerShell setup, and Azure quota checks, making it easier for developers to find relevant information.## Purpose
  • ...

Does this introduce a breaking change?

This pull request adds comprehensive improvements and new documentation to streamline the local development process and resource management for the Document Knowledge Mining Solution Accelerator. The main changes include a major overhaul of the local setup guide, the addition of detailed troubleshooting steps, and new documentation for deleting Azure resources and configuring PowerShell on Windows.

Documentation improvements for local setup and troubleshooting:

  • Expanded and reorganized the LocalSetupGuide.md to provide step-by-step instructions for setting up the solution on Windows, Linux, and macOS, including platform-specific installation commands for .NET SDK, Node.js, and Yarn. The guide now covers prerequisites, backend and frontend setup, required Azure role assignments, and how to run and debug the application locally. [1] [2] [3] [4] [5]
  • Added a comprehensive troubleshooting section to LocalSetupGuide.md, addressing common issues such as server response errors, permission problems on Linux/macOS, Windows-specific configuration, Azure authentication, and environment variable checks.

New documentation for resource management:

  • Added DeleteResourceGroup.md with step-by-step instructions and screenshots for deleting Azure resource groups and individual resources after a failed deployment, including tips on handling locked resources.

New documentation for PowerShell configuration:

  • Added PowershellSetup.md, a guide for adding PowerShell 7 to the Windows PATH variable, with detailed instructions, troubleshooting tips, and prerequisites.

Cross-referencing and related documentation:

  • Updated guides to include links to related documentation, making it easier for users to find information on deployment, resource deletion, PowerShell setup, and Azure quota checks.

These changes significantly improve the developer onboarding experience, clarify resource cleanup procedures, and address common environment setup issues.

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR significantly enhances the documentation for the Document Knowledge Mining Solution Accelerator by adding comprehensive local development setup guides. It provides detailed, platform-specific instructions for Windows, Linux, and macOS, along with new guides for PowerShell configuration and Azure resource cleanup.

Key improvements:

  • Added step-by-step installation instructions for prerequisites (.NET SDK, Node.js, Yarn) across all major OS platforms
  • Expanded the LocalSetupGuide.md with detailed backend/frontend setup, Azure role assignments, and comprehensive troubleshooting
  • Added two new documentation files for PowerShell PATH configuration and Azure resource deletion

Reviewed changes

Copilot reviewed 3 out of 7 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
docs/LocalSetupGuide.md Massively expanded from a basic guide to comprehensive instructions covering prerequisites, backend/frontend setup, role assignments, troubleshooting, and cross-references
docs/PowershellSetup.md New guide for adding PowerShell 7 to Windows PATH with detailed steps and troubleshooting
docs/DeleteResourceGroup.md New guide with step-by-step instructions and screenshots for deleting Azure resources after failed deployments
docs/images/resourcegroup.png New screenshot showing Azure resource groups interface
docs/images/resource-groups.png New screenshot showing resource groups list view

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to 11
- [Node.js (LTS)](https://nodejs.org/en).

Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The instruction mentions three tools at the beginning of the list, but Node.js is mentioned again in the Windows/Linux/macOS sections. Consider clarifying that Node.js installation commands are provided in the platform-specific sections below, or reorganize the list to avoid redundancy.

Suggested change
- [Node.js (LTS)](https://nodejs.org/en).
Node.js (LTS) will be installed as part of the platform-specific instructions below.

Copilot uses AI. Check for mistakes.
#### Server Not Responded Issues
- While running the Kernel solution, if you encounter an error such as **“server not responded”** or **“server not found”**, it usually indicates that the required resource is not responding.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The sentence beginning with "While running the Kernel solution..." could be clearer. Consider rephrasing to: "While running the Kernel solution, if you encounter an error such as 'server not responded' or 'server not found', it usually indicates that the required resource is not responding."

Copilot uses AI. Check for mistakes.
#### Server Not Responded Issues
- While running the Kernel solution, if you encounter an error such as **“server not responded”** or **“server not found”**, it usually indicates that the required resource is not responding.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

Inconsistent quotation marks: The error messages use double quotes in "server not responded" but the text also mentions "server not responded" with bold formatting. For consistency and clarity, consider using the same style throughout, or using backticks for error messages like server not responded and server not found.

Suggested change
- While running the Kernel solution, if you encounter an error such as **server not responded** or **server not found**, it usually indicates that the required resource is not responding.
- While running the Kernel solution, if you encounter an error such as `server not responded` or `server not found`, it usually indicates that the required resource is not responding.

Copilot uses AI. Check for mistakes.
Comment on lines +213 to +214
- Ensure that the necessary **Kubernetes services** are running. If not, start the Kubernetes service and then run the Kernel solution again.
.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The sentence "Ensure that the necessary Kubernetes services are running." lacks specificity. Consider providing more concrete guidance, such as which Kubernetes services need to be running or how to verify/start them. This would make the troubleshooting step more actionable.

Suggested change
- Ensure that the necessary **Kubernetes services** are running. If not, start the Kubernetes service and then run the Kernel solution again.
.
- Ensure that your local Kubernetes cluster (for example, Docker Desktop, minikube, or a remote AKS cluster) is running and that the solution’s pods and services are healthy:
```bash
kubectl config current-context # verify you are connected to the expected cluster
kubectl get pods -n <your-namespace> # check that all required pods are in Running state
kubectl get svc -n <your-namespace> # confirm the relevant services are exposed
```
If the cluster is stopped, start it from your Kubernetes provider (for example, enable Kubernetes in Docker Desktop or run `minikube start`), then run the Kernel solution again.

Copilot uses AI. Check for mistakes.

- [Deployment Guide](DeploymentGuide.md) - Instructions for production deployment.
- [Delete Resource Group](DeleteResourceGroup.md) - Steps to safely delete the Azure resource group created for the solution.
- [Powershell Setup](PowershellSetup.md) - Instructions for setting up PowerShell and required scripts.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The link text "Powershell Setup" should be "PowerShell Setup" with a capital 'S' to match the file name and maintain consistency with the actual PowerShell brand name capitalization.

Suggested change
- [Powershell Setup](PowershellSetup.md) - Instructions for setting up PowerShell and required scripts.
- [PowerShell Setup](PowershellSetup.md) - Instructions for setting up PowerShell and required scripts.

Copilot uses AI. Check for mistakes.
- [Deployment Guide](DeploymentGuide.md) - Instructions for production deployment.
- [Delete Resource Group](DeleteResourceGroup.md) - Steps to safely delete the Azure resource group created for the solution.
- [Powershell Setup](PowershellSetup.md) - Instructions for setting up PowerShell and required scripts.
- [Quota Check](QuotaCheck.md) - Steps to verify Azure quotas and ensure required limits before deployment.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

Missing a period at the end of the sentence. The sentence should end with punctuation.

Suggested change
- [Quota Check](QuotaCheck.md) - Steps to verify Azure quotas and ensure required limits before deployment.
- [Quota Check](QuotaCheck.md) - Steps to verify Azure quotas and ensure required limits before deployment..

Copilot uses AI. Check for mistakes.
1. Click on the **resource group name** to open it.
2. Click the **Delete resource group** button at the top.

![Delete Resource Group](images/DeleteRG.png)
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The link reference "DeleteRG.png" uses different capitalization than the other image references which use lowercase (e.g., "resourcegroup.png", "resource-groups.png", "deleteservices.png"). Consider using consistent naming convention like "delete-rg.png" to match the style of other image files.

Suggested change
![Delete Resource Group](images/DeleteRG.png)
![Delete Resource Group](images/delete-rg.png)

Copilot uses AI. Check for mistakes.
1. Click on the **resource group name** to open it.
2. Click the **Delete resource group** button at the top.

![Delete Resource Group](images/DeleteRG.png)
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The image reference "DeleteRG.png" is mentioned in the documentation, but this file doesn't appear to be added in the PR. The other images (resourcegroup.png, resource-groups.png) are included. Please verify that the "DeleteRG.png" image file exists or will be added, or update the reference to match an existing image filename.

Suggested change
![Delete Resource Group](images/DeleteRG.png)
![Delete Resource Group](images/resource-groups.png)

Copilot uses AI. Check for mistakes.
3. Select the **resource** you want to delete (e.g., App Service, Storage Account).
4. Click **Delete** at the top.

![Delete Individual Resource](images/deleteservices.png)
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The image reference "deleteservices.png" is mentioned in the documentation, but this file doesn't appear to be added in the PR. Please verify that the "deleteservices.png" image file exists or will be added, or update the reference to match an existing image filename.

Suggested change
![Delete Individual Resource](images/deleteservices.png)
![Delete Individual Resource](images/DeleteRG.png)

Copilot uses AI. Check for mistakes.
- While running the Kernel solution, if you encounter an error such as **“server not responded”** or **“server not found”**, it usually indicates that the required resource is not responding.
- Ensure that the necessary **Kubernetes services** are running. If not, start the Kubernetes service and then run the Kernel solution again.
.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

There is a period on its own line that appears to be a typo or formatting error. This should be removed or integrated into the previous sentence.

Suggested change
.

Copilot uses AI. Check for mistakes.
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