You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/azure-devops/deploy-docker/includes/3-set-up-environment.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,27 +27,34 @@ The modules in this learning path form a progression. You follow the Tailspin we
27
27
28
28
### Run the template
29
29
30
-
Run a template that sets up your Azure DevOps organization:
30
+
Run a template that sets up your Azure DevOps organization.
31
31
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.
34
33
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**.
36
35
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.
38
37
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.
40
40
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**.
42
42
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**.
44
44
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.
47
54
48
-
1. Select **Create Project**.
55
+
1. Select **Fork** at the top-right of the screen.
49
56
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**.
51
58
52
59
> [!IMPORTANT]
53
60
> 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