Skip to content

Commit 25d2731

Browse files
feat: Research Assistent | Add support for developer experience (#755)
* deploylocally * updatedApproch * changes * updatedfile * notrequired * NewFileImp * deletefiles * newfile01 * NewImplementation * UpdatedCode * Add logging configuration to main_custom.bicep Added logging configuration for Azure logging levels. --------- Co-authored-by: Roopan-Microsoft <[email protected]>
1 parent fc6daa5 commit 25d2731

File tree

5 files changed

+1388
-0
lines changed

5 files changed

+1388
-0
lines changed

azure_custom.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
2+
name: byoc-research-assistant-custom
3+
4+
requiredVersions:
5+
azd: ">= 1.18.0"
6+
7+
metadata:
8+
9+
10+
infra:
11+
provider: bicep
12+
path: infra
13+
module: main
14+
15+
services:
16+
webapp:
17+
project: ./src
18+
language: py
19+
host: appservice
20+
dist: ./dist
21+
hooks:
22+
prepackage:
23+
windows:
24+
shell: pwsh
25+
run: ../infra/scripts/package_webapp.ps1
26+
interactive: true
27+
continueOnError: false
28+
posix:
29+
shell: sh
30+
run: bash ../infra/scripts/package_webapp.sh
31+
interactive: true
32+
continueOnError: false
33+
34+
hooks:
35+
postprovision:
36+
windows:
37+
run: |
38+
Write-Host "✅ Infrastructure provisioned successfully!"
39+
$webAppUrl = (azd env get-value WEB_APP_URL)
40+
if ($webAppUrl) {
41+
Write-Host "Web app URL: $webAppUrl"
42+
}
43+
shell: pwsh
44+
continueOnError: true
45+
posix:
46+
run: |
47+
echo "✅ Infrastructure provisioned successfully!"
48+
WEB_APP_URL=$(azd env get-value WEB_APP_URL)
49+
if [ ! -z "$WEB_APP_URL" ]; then
50+
echo "Web app URL: $WEB_APP_URL"
51+
fi
52+
shell: sh
53+
continueOnError: true

docs/DeploymentGuide.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,10 @@ Once you've opened the project in Visual Studio Code (WEB) or local, you can dep
150150
Now that you've completed your deployment, you can start using the solution.
151151

152152
To help you get started, here are some [Sample Questions](./SampleQuestions.md) you can follow to try it out.
153+
154+
## Deploy Your local changes
155+
To deploy your local changes rename the below files.
156+
1. Rename `azure.yaml` to `azure_custom2.yaml` and `azure_custom.yaml` to `azure.yaml`.
157+
2. Go to `infra` directory
158+
- Rename `main.bicep` to `main_custom2.bicep` and `main_custom.bicep` to `main.bicep`.
159+
Continue with the [deploying steps](#deploying-with-azd).

0 commit comments

Comments
 (0)