Azure-Samples / aks-store-demo

Sample microservices app for AKS demos, tutorials, and experiments
MIT License
143 stars 225 forks source link

AZD Template does not support Windows OS/PowerShell commands. #99

Closed nathaniel-msft closed 7 months ago

nathaniel-msft commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

The AZD Template does not run on Windows OS as it cannot find the hooks file.

To Reproduce

Steps to reproduce the behavior:

  1. Download the AZD CLI for Windows
  2. Clone and Init the project with azd init
  3. Download any missing dependencies on your local machine.
  4. Run azd auth login to sign into Azure
  5. Run azd up

Expected behavior A clear and concise description of what you expected to happen.

Should find the hooks script and run it.

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

This project will be part of an AKS Quickstart article that supports all OS. To ensure a smooth transition for usage with AZD, I'd like to keep this the code/steps system agnostic. Is there a way to update the script to detect the user's OS and then run the respective command(s).