Skip to content

Commit 4616256

Browse files
Merge pull request #260 from microsoft/ve-userexperience
feat: Code-modernize: Add support for developer experience
2 parents da46321 + 561159b commit 4616256

5 files changed

Lines changed: 952 additions & 0 deletions

File tree

azure_custom.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: modernize-your-code-solution-accelerator
2+
metadata:
3+
template: modernize-your-code-solution-accelerator@1.0
4+
5+
requiredVersions:
6+
azd: '>= 1.18.0'
7+
8+
parameters:
9+
azureAiServiceLocation:
10+
type: string
11+
default: japaneast
12+
13+
services:
14+
backend:
15+
project: ./src/backend
16+
host: containerapp
17+
language: python
18+
docker:
19+
path: Dockerfile
20+
frontend:
21+
project: ./src/frontend
22+
host: containerapp
23+
language: js
24+
docker:
25+
path: Dockerfile
26+
27+
infra:
28+
provider: bicep
29+
path: infra

docs/DeploymentGuide.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,16 @@ To change the azd parameters from the default values, follow the steps [here](..
190190
191191
6. You can now delete the resources by running `azd down`, when you have finished trying out the application.
192192
193+
### Deploy your local changes
194+
195+
To deploy your local changes rename the below files.
196+
197+
Rename `azure.yaml` to `azure_original.yaml` and `azure_custom.yaml` to `azure.yaml`.
198+
199+
Go to `infra` directory
200+
201+
Rename `main.bicep` to `main_original.bicep` and `main_custom.bicep` to `main.bicep`. Continue with the [deploying steps](https://github.com/microsoft/Modernize-your-code-solution-accelerator/blob/main/docs/DeploymentGuide.md#deploying-with-azd).
202+
193203
### 🛠️ Troubleshooting
194204
If you encounter any issues during the deployment process, please refer [troubleshooting](../docs/TroubleShootingSteps.md) document for detailed steps and solutions.
195205

0 commit comments

Comments
 (0)