If you would like to run any of the demos from this repo, you can use the Azure Developer CLI (azd
) to provision the infrastructure.
Note: Although several demos are web apps, web apps aren’t currently deployed as part of the azd
deployment. There’s something to be said for demonstrating that you can leverage AI capabilities from anywhere, even running on your own machine!
The demos in this repository are intended to be modular and deployed to separate resource groups. This keeps things more organised and makes it easier to show resources for specific demos, rather than having many resources in a resource group that aren’t relevant to what you’re demonstrating. Having said that, there’s nothing stopping you from cloning this repository and making whatever changes suit you 😊
Make sure you execute all azd
commands from within the azd
folder.
Using azd
allows you to set up an environment with multiple resources and resource groups when required, including having scripts execute before and after the provisioning of resources, then tear down the environment and remove relevant soft-deleted resources in the process. You can then rinse and repeat!
winget install Microsoft.Azd -s winget
) first.azd auth login
.azd up
command.azd
CLI and not using the VS Code extension because the extension often fails to execute required scripts.azd up
command (I’ve seen required scripts not always running when you use the provision
command, so stick with up
).
y
, it will proceed to upload the relevant files to the correct containers..azure\<environment-name>\.env
file for you to view/copy as required.
azd down
command to delete everything deployed to the relevant environment (it uses the azd-env-name
tag to determine this).azd down --force --purge
command.azd down
action is performed.azd down
action is performed.