- Clone this repository.
- Install or update to Powershell 7 https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.4
- Install or update Azure CLI https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
- Ensure you have the required permissions to deploy into the target Azure subscription. Either of the below sets of roles can be used:
- Owner
- Contributor & User Access Administrator
This application can be run using the Azure Developer CLI, or azd, with very few commands:
- Navigate to the root of the repository.
- Install azd.
- Log in
azd(if you haven't done it before) to your Azure account:
azd auth login- Log in to the Azure CLI.
az login- Initialize
azdfrom the root of the repo.
azd init- During init:
- Enter an environment name for this deployment when prompted.
- Create Azure resources and deploy the sample by running:
azd upNotes:
- The operation takes a few minutes the first time it is ever run for an environment.
- At the end of the process,
azdwill display theurlfor the webapp. Follow that link to test the sample. - You can run
azd upafter saving changes to the sample to re-deploy and update the sample. azd downis an easy way to delete the newly created resources.- Report any problems by opening an issue in this repo.
- FAQ and troubleshoot for azd.