You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,48 @@ The automated deployment process is very straightforward and simplified via a si
56
56
6. Update Kubernetes configuration files.
57
57
7. Deploy certificates, ingress controller and then application images from Azure Container Registry.
58
58
59
+
### Deploying with AZD
60
+
61
+
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following these steps:
62
+
63
+
1. Clone the repository or download the project code via command-line:
Open the cloned repository in Visual Studio Code and connect to the development container.
70
+
71
+
```cmd
72
+
code .
73
+
```
74
+
75
+
2. Login to Azure:
76
+
77
+
```shell
78
+
azd auth login
79
+
```
80
+
81
+
#### To authenticate with Azure Developer CLI (`azd`), use the following command with your **Tenant ID**:
82
+
83
+
```sh
84
+
azd auth login --tenant-id <tenant-id>
85
+
```
86
+
87
+
3. Provision and deploy all the resources:
88
+
89
+
```shell
90
+
azd up
91
+
```
92
+
93
+
4. Provide an `azd` environment name (e.g., "ckmapp").
94
+
5. Select a subscription from your Azure account and choose a location that has quota for all the resources.
95
+
-- This deployment will take *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
96
+
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
97
+
98
+
6. Once the deployment has completed successfully, open the [Azure Portal](https://portal.azure.com/), go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.
99
+
100
+
7. If you are done trying out the application, you can delete the resources by running `azd down`.
59
101
60
102
### Execute Deployment Script:
61
103
Open PowerShell, change directory where you code cloned, then run the deploy script:
@@ -137,3 +179,9 @@ Execute uploadfiles.ps1 file with **-EndpointUrl** parameter as URL in console m
0 commit comments