Skip to content

Commit 92beaf0

Browse files
Merge pull request #50240 from ShawnKupfer/WB1771
Fix DevOps Demo Generator
2 parents dbed96b + e34a952 commit 92beaf0

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

learn-pr/azure-devops/deploy-docker/includes/3-set-up-environment.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,34 @@ The modules in this learning path form a progression. You follow the Tailspin we
2727

2828
### Run the template
2929

30-
Run a template that sets up your Azure DevOps organization:
30+
Run a template that sets up your Azure DevOps organization.
3131

32-
> [!div class="nextstepaction"]
33-
> [Run the template](https://azuredevopsdemogenerator.azurewebsites.net/?x-ms-routing-name=self&name=DeployDockercontainers&azure-portal=true)
32+
1. [Get and run the ADOGenerator project](https://github.com/microsoft/AzDevOpsDemoGenerator/blob/main/docs/RunApplication.md) in Visual Studio or the IDE of your choice.
3433

35-
From the Azure DevOps Demo Generator site, follow these steps to run the template:
34+
1. When prompted to **Enter the template number from the list of templates**, enter **39** for **Automate Docker container deployments with Azure Pipelines**, then press **Enter**.
3635

37-
1. Select **Sign In** and accept the usage terms.
36+
1. Choose your authentication method. You can [set up and use a Personal Access Token (PAT)](/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate#create-a-pat) or use device login.
3837

39-
1. On the **Create New Project** page, select your Azure DevOps organization. Enter a project name such as *Space Game - web - Docker*.
38+
> [!NOTE]
39+
> If you set up a PAT, If you set up a PAT, make sure to authorize the necessary [scopes](/azure/devops/integrate/get-started/authentication/oauth#scopes). For this module, you can use **Full access**, but in a real-world situation, you should ensure you grant only the necessary scopes.
4040
41-
:::image type="content" source="../media/3-create-new-project.png" alt-text="Screenshot of creating a project through Azure DevOps Demo Generator.":::
41+
1. Enter your Azure DevOps organization name, then press **Enter**.
4242

43-
1. Select **Yes, I want to fork this repository** > **Authorize**. If prompted, authorize access to your GitHub account.
43+
1. If prompted, enter your Azure DevOps PAT, then press **Enter**.
4444

45-
> [!IMPORTANT]
46-
> You need to select this option so the template can connect to your GitHub repository. Make sure to select the checkbox even if you've already forked the *Space Game* repository. The template will use your existing fork.
45+
1. Enter a project name such as *Space Game - web - Docker*, then press **Enter**.
46+
47+
1. Once your project is created, go to your Azure DevOps organization in your browser (at `https://dev.azure.com/<your-organization-name>/`) and select the project.
48+
49+
### Fork the repository
50+
51+
If you haven't already, create a fork of the **mslearn-tailspin-spacegame-web-docker** repository.
52+
53+
1. On GitHub, go to the [mslearn-tailspin-spacegame-web-docker](https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-docker) repository.
4754

48-
1. Select **Create Project**.
55+
1. Select **Fork** at the top-right of the screen.
4956

50-
1. Select **Navigate to project** to go to your project in Azure DevOps.
57+
1. Choose your GitHub account as the **Owner**, then select **Create fork**.
5158

5259
> [!IMPORTANT]
5360
> In this module, the [Clean up your Azure DevOps environment](/training/modules/deploy-docker/5-clean-up-environment?azure-portal=true) page contains important cleanup steps. Cleaning up helps ensure that you don't run out of free build minutes. Be sure to follow the cleanup steps even if you don't complete this module.

0 commit comments

Comments
 (0)