You will need:
- An Azure Subscription
- A GitHub Account
Log into your GitHub account, and navigate to the below repo:
https://github.com/CharleneMcKeown/eShop
Fork it to your own account by clicking on the Fork button:
We need an Azure Resource Group and a Container registry to get started with the labs.
-
Log into the Azure portal and open a new cloud shell session using Bash. You may be prompted to create a storage account if you have never used it before - go ahead and do that. If you need some help getting started, read the cloud shell overview.
-
Copy and paste the below commands to create the resources we need, for now.
let suffix=$RANDOM*$RANDOM
myResourceGroup=GitHubWorkshop$suffix myACR=GitHubWorkShop$suffix
az group create --name $myResourceGroup --location "West Europe"
az acr create --name $myACR --resource-group $myResourceGroup --sku Basic --admin-enabled true
-
Wait for the resources to create, then navigate to the Container Registry you just created.
-
Open notepad, or somewhere you can paste in some values which we will need later. Find the:
- Login Server name: (GitHubWorkShop********.azurecr.io)
- Username (GitHubWorkShop********)
- Password (will be a long, unique string)
Note: You can find the login server name on the overview page, top right, and the username and password under Access Keys on the left hand side menu.