-
Notifications
You must be signed in to change notification settings - Fork 259
Expand file tree
/
Copy pathazure_custom.yaml
More file actions
51 lines (44 loc) · 1.77 KB
/
azure_custom.yaml
File metadata and controls
51 lines (44 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: conversation-knowledge-mining
requiredVersions:
azd: ">= 1.18.0 != 1.23.9"
metadata:
template: conversation-knowledge-mining@1.0
infra:
provider: bicep
path: infra
module: main
parameters: infra/main.parameters.json
services:
api:
project: ./src/api
language: py
host: appservice
webapp:
project: ./src/App
language: js
host: appservice
hooks:
postprovision:
windows:
run: |
Write-Host "Web app URL: "
Write-Host "$env:WEB_APP_URL" -ForegroundColor Cyan
Write-Host "`nCreate and activate a virtual environment if not already done, then run the following command in the bash terminal to create agents:"
Write-Host "bash ./infra/scripts/run_create_agents_scripts.sh" -ForegroundColor Cyan
Write-Host "`nRun the following command in your Bash terminal. It will grant the necessary permissions between resources and your user account, and also process and load the sample data into the application."
Write-Host "bash ./infra/scripts/process_sample_data.sh" -ForegroundColor Cyan
shell: pwsh
continueOnError: false
interactive: true
posix:
run: |
echo "Web app URL: "
echo $WEB_APP_URL
echo "\nCreate and activate a virtual environment if not already done, then run the following command in the bash terminal to create agents:"
echo "bash ./infra/scripts/run_create_agents_scripts.sh"
echo ""
echo "\nRun the following command in your Bash terminal. It will grant the necessary permissions between resources and your user account, and also process and load the sample data into the application."
echo "bash ./infra/scripts/process_sample_data.sh"
shell: sh
continueOnError: false
interactive: true