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: content-gen/docs/DEPLOYMENT.md
+1-62Lines changed: 1 addition & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,68 +136,7 @@ Depending on your subscription quota and capacity, you can adjust quota settings
136
136
137
137
### Deploying with AZD
138
138
139
-
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:
140
-
141
-
1. Login to Azure:
142
-
143
-
```shell
144
-
azd auth login
145
-
```
146
-
147
-
To authenticate with Azure Developer CLI (`azd`), use the following command with your **Tenant ID**:
148
-
149
-
```shell
150
-
azd auth login --tenant-id <tenant-id>
151
-
```
152
-
153
-
2. Provision and deploy all the resources:
154
-
155
-
```shell
156
-
azd up
157
-
```
158
-
159
-
3. Provide an `azd` environment name (e.g., "contentgen").
160
-
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
161
-
- This deployment will take *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
162
-
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
163
-
164
-
5. Once the deployment has completed successfully, copy the bash commands from the terminal for later use.
165
-
166
-
> **Note**: if you are running this deployment in GitHub Codespaces or VS Code Dev Container skip to step 7.
167
-
168
-
6. Create and activate a virtual environment:
169
-
170
-
```shell
171
-
python -m venv .venv
172
-
```
173
-
174
-
```shell
175
-
.venv\Scripts\activate
176
-
```
177
-
178
-
On Linux/Mac/GitBash:
179
-
180
-
```shell
181
-
source .venv/bin/activate
182
-
```
183
-
184
-
7. Login to Azure:
185
-
186
-
```shell
187
-
az login
188
-
```
189
-
190
-
8. Run the data setup scripts to populate product catalogs and upload sample images:
If you don't have azd env then you need to pass parameters along with the command. Check the script for required parameters.
197
-
198
-
9. Once the scripts have run successfully, go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.
199
-
200
-
10. If you are done trying out the application, you can delete the resources by running `azd down`.
139
+
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 the steps in the [AZD Deployment Guide](AZD_DEPLOYMENT.md)
0 commit comments