Skip to content

Commit 02831cd

Browse files
committed
Change from hello world image to fork of Album API repo.
1 parent a73119c commit 02831cd

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

articles/container-apps/quickstart-scaling.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ In this tutorial, you add an HTTP scale rule to your container app and observe h
2222
| Requirement | Instructions |
2323
|--|--|
2424
| Azure account | If you don't have an Azure account, you can [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). <br><br>You need the *Contributor* or *Owner* permission on the Azure subscription to proceed. Refer to [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.md?tabs=current) for details. |
25+
| GitHub Account | Get one for [free](https://github.com/join). |
2526
| Azure CLI | Install the [Azure CLI](/cli/azure/install-azure-cli). |
2627

2728
## Setup
@@ -99,6 +100,12 @@ az provider register --namespace Microsoft.OperationalInsights
99100

100101
---
101102

103+
## Prepare the GitHub repository
104+
105+
In a browser window, go to the GitHub repository and fork the repository. For this tutorial, we will simply use the C# repository, because the programming language does not matter to the tutorial.
106+
107+
Select the **Fork** button at the top of the [album API repo](https://github.com/azure-samples/containerapps-albumapi-csharp) to fork the repo to your account.
108+
102109
## Create and deploy the container app
103110

104111
Create and deploy your container app with the `containerapp up` command. This command creates:
@@ -111,6 +118,8 @@ If any of these resources already exist, the command uses them instead of creati
111118

112119
Lastly, the command creates and deploys the container app using a public container image.
113120

121+
Replace the `<YOUR_GITHUB_REPOSITORY_NAME>` with your GitHub repository name in the form of `https://github.com/<owner>/containerapps-albumapi-csharp` or `<owner>/containerapps-albumapi-csharp`.
122+
114123
# [Bash](#tab/bash)
115124

116125
```azurecli
@@ -119,10 +128,11 @@ az containerapp up \
119128
--resource-group my-container-apps \
120129
--location centralus \
121130
--environment 'my-container-apps' \
122-
--image mcr.microsoft.com/azuredocs/containerapps-helloworld:latest \
123131
--target-port 80 \
124132
--ingress external \
125-
--query properties.configuration.ingress.fqdn
133+
--query properties.configuration.ingress.fqdn \
134+
--context-path ./src \
135+
--repo <YOUR_GITHUB_REPOSITORY_NAME>
126136
```
127137

128138
# [Azure PowerShell](#tab/azure-powershell)
@@ -133,10 +143,11 @@ az containerapp up `
133143
--resource-group my-container-apps `
134144
--location centralus `
135145
--environment my-container-apps `
136-
--image mcr.microsoft.com/azuredocs/containerapps-helloworld:latest `
137146
--target-port 80 `
138-
--ingress external `
139-
--query properties.configuration.ingress.fqdn
147+
--ingress external `
148+
--query properties.configuration.ingress.fqdn `
149+
--context-path ./src `
150+
--repo <YOUR_GITHUB_REPOSITORY_NAME>
140151
```
141152

142153
---

0 commit comments

Comments
 (0)