Skip to content

Commit 1896c3a

Browse files
Add instructions for deploying local changes and renaming configuration files
1 parent b023cf3 commit 1896c3a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/DeploymentGuide.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,22 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
226226

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

229+
## Deploy Your Local Changes
230+
231+
To deploy your local changes, rename the below files:
232+
233+
1. **Rename configuration files in the root directory:**
234+
- Rename `azure.yaml` to `azure_original.yaml`
235+
- Rename `azure_custom.yaml` to `azure.yaml`
236+
237+
2. **Go to `infra` directory and rename Bicep files:**
238+
- Rename `main.bicep` to `main_original.bicep`
239+
- Rename `main_custom.bicep` to `main.bicep`
240+
241+
3. Continue with the [deploying steps](#deploying-with-azd).
242+
243+
> **Note:** After deployment, you may want to revert these file name changes or commit your custom files to version control.
244+
229245
## Environment configuration for local development & debugging
230246
> Set APP_ENV in your .env file to control Azure authentication. Set the environment variable to dev to use Azure CLI credentials, or to prod to use Managed Identity for production. **Ensure you're logged in via az login when using dev in local**.
231247
To configure your environment, follow these steps:

0 commit comments

Comments
 (0)