Skip to content

Commit 7f31762

Browse files
committed
fixes
1 parent 861f6d1 commit 7f31762

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

articles/azure-developer-cli/includes/azd-template-structure-minimal.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ms.date: 08/01/2022
99
`azd` templates are standard code repositories with additional assets included. All `azd` templates share a similar file structure based on `azd` conventions:
1010

1111
- **`infra` folder** - Contains all of the Bicep or Terraform infrastructure as code files for the `azd` template. `azd` executes these files to create the Azure resources required by your app.
12+
- **`src` folder** - Contains the app source code. `azd` packages and deploys the code based on configurations in `azure.yaml`.
1213
- **`azure.yaml` file** - A configuration file that maps source code folders in your project to Azure resources defined in the `infra` folder for deployment. For example, you might define an API service and a web front-end service in separate folders and map them to different Azure resources for deployment.
13-
- **`.azure` folder** - Contains essential Azure configurations and environment variables, such as the location to deploy resources.
14-
- **`src` folder** - Contains all of the deployable app source code.
14+
- **`.azure` folder** - Contains essential Azure configurations, such as the location to deploy resources.
1515

16-
For example, a common `azd` template might match the following folder structure:
16+
For example, most `azd` templates match the following folder structure:
1717

1818
:::image type="content" source="../media/make-azd-compatible/azd-template-structure.png" alt-text="A screenshot showing an Azure Developer CLI template structure.":::
1919

articles/azure-developer-cli/quickstart-explore-templates.md

+16-14
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ ms.topic: conceptual
99
ms.custom: devx-track-azdevcli
1010
---
1111

12-
# Explore and customize an Azure Developer CLI Template
12+
# Explore and customize an Azure Developer CLI template
1313

14-
In this quickstart, you explore and customize the **`hello-azd`** Azure Developer CLI template. **hello-azd** provides a simple starting point for building and deploying applications to Azure using the Azure Developer CLI (`azd`). This quickstart expands on the concepts demonstrated in the [Quickstart - Deploy an azd template](/azure/developer/azure-developer-cli/get-started) article.
14+
In this quickstart, you explore and customize an Azure Developer CLI template. The **hello-azd** template provides a simple starting point for building and deploying applications to Azure using the Azure Developer CLI (`azd`). This quickstart expands on the concepts demonstrated in the [Quickstart - Deploy an azd template](/azure/developer/azure-developer-cli/get-started) article.
1515

1616
## Prerequisites
1717

18-
- [Install the Azure Developer CLI](/azure/developer/azure-developer-cli/install-azd) on your local machine
19-
- [Install Visual Studio Code](https://code.visualstudio.com/download) or your editor of choice
20-
- Have access to GitHub Codespaces (optional)
18+
- [The Azure Developer CLI](/azure/developer/azure-developer-cli/install-azd) installed on your local machine
19+
- [Visual Studio Code](https://code.visualstudio.com/download) or your editor of choice
20+
- Docker desktop installed on your local machine
21+
OR
22+
- Access to GitHub Codespaces
2123

2224
[!INCLUDE [azd-template-structure-minimal](includes/azd-template-structure-minimal.md)]
2325

@@ -29,13 +31,13 @@ The template supports the following features:
2931

3032
- Packages and deploys a containerized app to Azure Container Apps
3133
- Creates the Azure resources needed by the app, such as an Azure Cosmos DB database
32-
- Can automatically create a CI/CD pipeline using the `azd pipeline config` command
34+
- Can automatically [Configure a CI/CD pipeline](configure-devops-pipeline.md) using the `azd pipeline config` command
3335

3436
Follow these steps to set up the template:
3537

3638
## [Visual Studio Code](#tab/vs-code)
3739

38-
1. Clone the repository to your local machine:
40+
1. In an empty directory on your local machine, clone and initialize the repository using the `azd init` command:
3941

4042
```bash
4143
azd init -t hello-azd
@@ -46,15 +48,15 @@ Follow these steps to set up the template:
4648
1. Open the project folder in Visual Studio Code:
4749

4850
```bash
49-
code hello-azd
51+
code .
5052
```
5153

5254
## [Codespaces](#tab/codespaces)
5355

5456
1. Open the [hello-azd template repository](https://github.com/Azure-Samples/hello-azd) on GitHub.
5557
1. Select the **Code** button and then select **Codespaces**.
5658
1. Create a new Codespace to launch a fully configured development environment in your browser. You might need to wait a moment for the environment to initialize.
57-
1. After the Codespaces environment loads, initialize the `azd` template using teh following command:
59+
1. After the Codespaces environment loads, initialize the `azd` template using the `azd init` command:
5860

5961
```bash
6062
azd init -t hello-azd
@@ -66,15 +68,15 @@ Follow these steps to set up the template:
6668

6769
## Explore the template
6870

69-
With the template open in your tool of choice, you can browse the folder structure to explore how `azd` templates work. For example, complete the following tasks:
71+
With the template open in your tool of choice, you can browse the folder structure to explore how `azd` templates work:
7072

7173
1. Expand the `src` folder to view the source code of the app.
72-
- The `hello-azd` template includes a containerized .NET Blazor app that provides a simple UI to learn about `azd` and manage sample ticket data. `azd` also supports other languages like JavaScript and Python.
73-
- When you run the template, the Blazor app is packaged as a container image and deployed to Azure Container Apps.
74+
- The `hello-azd` template includes a containerized .NET app that provides a simple UI to learn about `azd` and manage sample ticket data. `azd` also supports other languages like JavaScript and Python.
75+
- When you run `azd up`, the app is packaged as a container image and deployed to Azure Container Apps.
7476

7577
1. Expand the `infra` folder to explore the infrastructure as code files.
7678
- This template uses Bicep files (`.bicep`) to create Azure resources, but you can also use Terraform (`.tf`).
77-
- The `main.bicep` file orchestrates resource provisioning by referencing other Bicep modules in the `infra` folder. Browse the contents of this file for examples of how to create app resources, such as an Azure Storage account:
79+
- The `main.bicep` file creates Azure resources by referencing other Bicep modules in the `infra` folder, such as an Azure Storage account:
7880

7981
```bicep
8082
// Omitted...
@@ -121,7 +123,7 @@ With the template open in your tool of choice, you can browse the folder structu
121123
You can make changes to the template to influence the deployed app and resources. In this example, you make two small changes to the app and explore the deployed results:
122124
123125
- Update the app header welcome text to your own message
124-
- Update the created storage account so that it creates another blob container
126+
- Update the created storage account so that it creates two blob containers instead of one
125127
126128
To make these changes, complete the following steps:
127129

0 commit comments

Comments
 (0)