diff --git a/README.md b/README.md index 76126b71..99a3bfe1 100644 --- a/README.md +++ b/README.md @@ -78,16 +78,6 @@ You can run this template virtually by using GitHub Codespaces. The button will source venv/bin/activate ``` - Windows venv activation: - ```bash - cd backend - python3 -m venv venv - # In cmd.exe - venv\Scripts\activate.bat - # In PowerShell - venv\Scripts\Activate.ps1 - ``` - Install dependencies with poetry: ```bash poetry install diff --git a/infra/main.bicep b/infra/main.bicep index a84b3a4d..ac6074d6 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -174,7 +174,7 @@ module openAiRoleUser './shared/role.bicep' = if (createRoleForUser && createAzu } } -module openAiRoleBackend './shared/role.bicep' = if (createAzureOpenAi) { +module openAiRoleBackend './shared/role.bicep' = if (createAzureOpenAi && !createRoleForUser) { scope: rg name: 'openai-role-backend' params: {