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
tags="{'CreatedBy':'Pipeline', 'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,8 @@ Quick deploy
71
71
### How to install or deploy
72
72
Follow the quick deploy steps on the deployment guide to deploy this solution to your own Azure subscription.
73
73
74
+
> **Note:** This solution accelerator requires **Azure Developer CLI (azd) version 1.18.0 or higher**. Please ensure you have the latest version installed before proceeding with deployment. [Download azd here](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd).
75
+
74
76
[Click here to launch the deployment guide](./docs/DeploymentGuide.md)
This guide provides step-by-step instructions to build and push Docker images for **WebApp** and **Backend** services into Azure Container Registry (ACR).
4
+
5
+
## 📋 Prerequisites
6
+
Before starting, ensure you have:
7
+
- An active [Azure Subscription](https://portal.azure.com/)
8
+
-[Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) installed and logged in
9
+
-[Docker Desktop](https://docs.docker.com/get-docker/) installed and running
10
+
- Access to your Azure Container Registry (ACR)
11
+
- To create an Azure Container Registry (ACR), you can refer to the following guides:
12
+
13
+
-[Create Container Registry using Azure CLI](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-get-started-azure-cli)
14
+
15
+
-[Create Container Registry using Azure Portal](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-get-started-portal?tabs=azure-cli)
16
+
17
+
-[Create Container Registry using PowerShell](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-get-started-powershell)
18
+
19
+
-[Create Container Registry using ARM Template](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-get-started-geo-replication-template)
20
+
21
+
-[Create Container Registry using Bicep](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-get-started-bicep?tabs=CLI)
> **📋 Note**: This guide is specifically for post-deployment steps after using the AVM template. For complete deployment from scratch, see the main [Deployment Guide](./DeploymentGuide.md).
4
+
5
+
---
6
+
7
+
This document provides guidance on post-deployment steps after deploying the Content processing solution accelerator from the [AVM (Azure Verified Modules) repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/content-processing).
8
+
9
+
## Overview
10
+
11
+
After successfully deploying the Content Processing Solution Accelerator using the AVM template, you'll need to complete some configuration steps to make the solution fully operational.
12
+
13
+
## Prerequisites
14
+
15
+
Before starting the post-deployment process, ensure you have the following:
16
+
17
+
### Required Software
18
+
19
+
1.**[PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.4)** <small>(v7.0+ recommended)</small> - Available for Windows, macOS, and Linux
20
+
21
+
2.**[Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)** <small>(v2.50+)</small> - Command-line tool for managing Azure resources
22
+
23
+
3.**[Git](https://git-scm.com/downloads/)** - Version control system for cloning the repository
24
+
25
+
4.**Deployed Infrastructure** - A successful Content processing solution accelerator deployment from the [AVM repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/content-processing)
26
+
27
+
#### Important Note for PowerShell Users
28
+
29
+
If you encounter issues running PowerShell scripts due to execution policy restrictions, you can temporarily adjust the `ExecutionPolicy` by running the following command in an elevated PowerShell session:
30
+
31
+
```powershell
32
+
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
33
+
```
34
+
35
+
This will allow the scripts to run for the current session without permanently changing your system's policy.
36
+
37
+
## Post-Deployment Steps
38
+
39
+
### Step 1: Clone the Repository
40
+
41
+
First, clone this repository to access the post-deployment scripts:
Once configuration is complete, see the **[Next Steps](./DeploymentGuide.md#next-steps)** section in the main Deployment Guide to start using the solution.
Copy file name to clipboardExpand all lines: docs/CustomizingAzdParameters.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ By default this template will use the environment name as the prefix to prevent
18
18
|`AZURE_ENV_MODEL_CAPACITY`| integer |`30`| Sets the model capacity (choose based on your subscription's available GPT capacity). |
19
19
|`AZURE_ENV_IMAGETAG`| boolean |`latest`| Set the Image tag Like (allowed values: latest, dev, hotfix) |
20
20
|`AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID`| string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)| Reuses an existing Log Analytics Workspace instead of provisioning a new one. |
21
-
21
+
|`AZURE_EXISTING_AI_PROJECT_RESOURCE_ID`| string |`<Existing AI Project resource Id>`| Reuses an existing AIFoundry and AIFoundryProject instead of creating a new one. |
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ If you're not using one of the above options for opening the project, then you'l
87
87
88
88
1. Make sure the following tools are installed:
89
89
-[PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.5) <small>(v7.0+)</small> - available for Windows, macOS, and Linux.
90
-
-[Azure Developer CLI (azd)](https://aka.ms/install-azd) <small>(v1.15.0+)</small> - version
90
+
-[Azure Developer CLI (azd)](https://aka.ms/install-azd) <small>(v1.18.0+)</small> - version
@@ -124,6 +124,7 @@ When you start the deployment, most parameters will have **default values**, but
124
124
| **Use Local Build** | Boolean flag to determine if local container builds should be used. | false |
125
125
| **Image Tag** | Image version for deployment (allowed values: `latest`, `dev`, `hotfix`). | latest |
126
126
| **Existing Log Analytics Workspace** | To reuse an existing Log Analytics Workspace ID instead of creating a new one. | *(none)* |
127
+
| **Existing Azure AI Foundry Project** | To reuse an existing Azure AI Foundry Project ID instead of creating a new one. | *(none)* |
127
128
128
129
129
130
</details>
@@ -148,6 +149,14 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
148
149
149
150
</details>
150
151
152
+
<details>
153
+
154
+
<summary><b>Reusing an Existing Azure AI Foundry Project</b></summary>
155
+
156
+
Guide to get your [Existing Project ID](/docs/re-use-foundry-project.md)
157
+
158
+
</details>
159
+
151
160
### Deploying with AZD
152
161
153
162
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:
@@ -175,6 +184,7 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
175
184
```shell
176
185
azd up
177
186
```
187
+
> **Note:** This solution accelerator requires **Azure Developer CLI (azd) version 1.18.0 or higher**. Please ensure you have the latest version installed before proceeding with deployment. [Download azd here](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd).
178
188
179
189
3. Provide an `azd` environment name (e.g., "cpsapp").
180
190
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
@@ -192,6 +202,9 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
192
202
193
203
7. If you are done trying out the application, you can delete the resources by running `azd down`.
194
204
205
+
### 🛠️ Troubleshooting
206
+
If you encounter any issues during the deployment process, please refer [troubleshooting](../docs/TroubleShootingSteps.md) document for detailed steps and solutions
207
+
195
208
## Post Deployment Steps
196
209
1. Optional: Publishing Local Build Container to Azure Container Registry
197
210
@@ -273,6 +286,21 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
273
286
274
287
- Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources.
275
288
289
+
## Environment configuration for local development & debugging
290
+
**Creatign env file**
291
+
292
+
> Navigate to the `src` folder of the project.
293
+
294
+
1. Locate the `.env` file inside the `src` directory.
295
+
2. To fill in the required values, follow these steps
296
+
- Go to the Azure Portal.
297
+
- Navigate to your **Resource Group**.
298
+
- Open the **Web Container** resource.
299
+
- In the left-hand menu, select **Containers**.
300
+
- Go to the **Environment Variables** tab.
301
+
- Copy the necessary environment variable values and paste them into your local `.env` file.
302
+
303
+
276
304
## Next Steps
277
305
278
306
Now that you've completed your deployment, you can start using the solution. Try out these things to start getting familiar with the capabilities:
0 commit comments