Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/DeploymentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,21 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain

- Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources.

## Environment configuration for local development & debugging
**Creatign env file**

> Navigate to the `src` folder of the project.

1. Locate the `.env` file inside the `src` directory.
2. To fill in the required values, follow these steps
- Go to the Azure Portal.
- Navigate to your **Resource Group**.
- Open the **Web Container** resource.
- In the left-hand menu, select **Containers**.
- Go to the **Environment Variables** tab.
- Copy the necessary environment variable values and paste them into your local `.env` file.


## Next Steps

Now that you've completed your deployment, you can start using the solution. Try out these things to start getting familiar with the capabilities:
Expand Down
6 changes: 4 additions & 2 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ var solutionPrefix = 'cps-${padLeft(take(toLower(uniqueString(subscription().id,
// Resources //
// ============== //

var existingProjectResourceId = trim(existingFoundryProjectResourceId)

// ========== AVM Telemetry ========== //
#disable-next-line no-deployments-resources
resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableTelemetry) {
Expand Down Expand Up @@ -579,7 +581,7 @@ module avmAiServices 'modules/account/main.bicep' = {
name: 'aisa-${solutionPrefix}'
projectName: 'aifp-${solutionPrefix}'
projectDescription: 'aifp-${solutionPrefix}'
existingFoundryProjectResourceId: existingFoundryProjectResourceId
existingFoundryProjectResourceId: existingProjectResourceId
location: aiDeploymentsLocation
sku: 'S0'
allowProjectManagement: true
Expand Down Expand Up @@ -632,7 +634,7 @@ module avmAiServices 'modules/account/main.bicep' = {
// WAF related parameters
publicNetworkAccess: (enablePrivateNetworking) ? 'Disabled' : 'Enabled'
//publicNetworkAccess: 'Enabled' // Always enabled for AI Services
privateEndpoints: (enablePrivateNetworking)
privateEndpoints: (enablePrivateNetworking && empty(existingProjectResourceId))
? [
{
name: 'ai-services-private-endpoint-${solutionPrefix}'
Expand Down
Loading
Loading