Skip to content

Commit 08cd47a

Browse files
committed
updated instructions, separated config lab resources
1 parent 62e6dbd commit 08cd47a

File tree

3 files changed

+50
-8
lines changed

3 files changed

+50
-8
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
lab:
3+
title: 'Prepare - Configure your lab environment for GitHub Copilot exercises'
4+
description: 'Review lab requirements and configure the resources before launching exercises that use GitHub Copilot in Visual Studio Code.'
5+
---
6+
7+
# Configure your lab environment for GitHub Copilot exercises
8+
9+
Your lab environment (either a hosted environment or a local PC) must be configured for C# development using Visual Studio Code and GitHub Copilot. Access to a GitHub account with GitHub Copilot enabled is required.
10+
11+
Complete the following steps to verify that your lab environment is configured correctly:
12+
13+
1. Verify that Git version 2.48 or later is installed in your lab environment.
14+
15+
Run `git --version` in a terminal window to check the version of Git installed.
16+
17+
If you're running Windows and you want to update Git, you can use the following command:
18+
19+
```bash
20+
git update-git-for-windows
21+
```
22+
23+
If necessary, you can download Git using the following URL: <a href="https://git-scm.com/downloads" target="_blank">Download Git</a>.
24+
25+
1. Verify that the latest LTS or STS version of the .NET SDK is installed in your lab environment.
26+
27+
Run `dotnet --version` in a terminal window to check the version of the .NET SDK installed.
28+
29+
If necessary, you can download the .NET SDK using the following URL: <a href="https://dotnet.microsoft.com/download/dotnet" target="_blank">Download .NET SDK</a>.
30+
31+
1. Verify that Visual Studio Code and the C# Dev Kit extension are installed in your lab environment.
32+
33+
If necessary, you can download Visual Studio Code using the following URL: <a href="https://code.visualstudio.com/download" target="_blank">Download Visual Studio Code</a>
34+
35+
You can install the C# Dev Kit extension using the Extensions view in Visual Studio Code.
36+
37+
1. Verify that you have access to a GitHub account and GitHub Copilot subscription.
38+
39+
You can log in to your GitHub account using the following URL: <a href="https://github.com/login" target="_blank">GitHub login</a>. Open your GitHub account settings and verify that you have access to a GitHub Copilot subscription. If you have access to a GitHub Copilot Pro, GitHub Copilot Pro+, GitHub Copilot Business, or GitHub Copilot Enterprise subscription that you can use for training exercises, you can use your existing GitHub Copilot subscription to complete the GitHub Copilot exercises.
40+
41+
If you don't have a GitHub account, you can create an individual account from the GitHub login page. On the login page, select **Create an account**.
42+
43+
If you have an individual GitHub account, but you don't have a GitHub Copilot subscription, you can set up a GitHub Copilot Free plan from Visual Studio Code during a training exercise.
44+
45+
> **IMPORTANT**: The GitHub Copilot Free plan is a limited version of GitHub Copilot, allowing up to 2,000 code completions and 50 chats or premium requests per month. If you use a GitHub Copilot Free plan outside training exercises, you may exceed the plan's resource limits before completing the training. The GitHub Copilot Free plan is not available for GitHub Copilot Pro, GitHub Copilot Pro+, GitHub Copilot Business, or GitHub Copilot Enterprise subscriptions.

Instructions/Labs/LAB_AK_01_examine_settings_interface.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ Complete the following steps to verify that your lab environment is configured c
5858
5959
GitHub offers three Copilot plans for individual developers, and two plans for organizations and enterprises. The plans are designed to meet the needs of individual developers, teams, and organizations. The GitHub Copilot Free plan is available to all individual GitHub users, while the paid plans are available to individuals and organizations that require additional features and capabilities.
6060
61-
> [!NOTE]
62-
> If you've already verified access to a GitHub Copilot subscription in your lab environment, you can skip this section and proceed to the exercise scenario.
61+
> **NOTE**: If you've already verified access to a GitHub Copilot subscription in your lab environment, you can skip this section and proceed to the exercise scenario.
6362

6463
Complete the following steps to verify that your lab environment is configured correctly:
6564

Instructions/Labs/LAB_AK_03_develop_code_features.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<!-- ---
1+
---
22
lab:
33
title: 'Exercise - Develop code features using GitHub Copilot'
44
description: 'Learn how to accelerate the development of new code features using GitHub Copilot in Visual Studio Code.'
5-
--- -->
5+
---
66

77
# Develop code features using GitHub Copilot
88

@@ -51,15 +51,13 @@ Complete the following steps to verify that your lab environment is configured c
5151

5252
You can log in to your GitHub account using the following URL: <a href="https://github.com/login" target="_blank">GitHub login</a>. Check your GitHub account settings to verify that you have access to a GitHub Copilot subscription.
5353

54-
> [!IMPORTANT]
55-
> If you don't have a GitHub account, you can create an individual account from the GitHub login page (select **Create an account**), and then activate the **GitHub Copilot Free** plan in the next section. If you have access to a GitHub Copilot Pro, GitHub Copilot Business, or GitHub Copilot Enterprise subscription from within the lab environment, you can use your existing GitHub Copilot subscription to complete this exercise.
54+
> **IMPORTANT**: If you don't have a GitHub account, you can create an individual account from the GitHub login page (select **Create an account**), and then activate the **GitHub Copilot Free** plan in the next section. If you have access to a GitHub Copilot Pro, GitHub Copilot Business, or GitHub Copilot Enterprise subscription from within the lab environment, you can use your existing GitHub Copilot subscription to complete this exercise.
5655
5756
### Configure the GitHub Copilot Free plan in Visual Studio Code
5857
5958
GitHub offers three Copilot plans for individual developers, and two plans for organizations and enterprises. The plans are designed to meet the needs of individual developers, teams, and organizations. The GitHub Copilot Free plan is available to all individual GitHub users, while the paid plans are available to individuals and organizations that require additional features and capabilities.
6059
61-
> [!NOTE]
62-
> If you've already verified access to a GitHub Copilot subscription in your lab environment, you can skip this section and proceed to the exercise scenario.
60+
> **NOTE**: If you've already verified access to a GitHub Copilot subscription in your lab environment, you can skip this section and proceed to the exercise scenario.
6361

6462
Complete the following steps to verify that your lab environment is configured correctly:
6563

0 commit comments

Comments
 (0)