In this 3-hour workshop, you will learn how to use Github Copilot to write better and faster research software and create documentation to describe your workflow and code. The lesson will utilize a genomics dataset from the AWS Open Data program. You will also learn to analyze and visualize the dataset using open-source tools.
Link to register: https://tinyurl.com/2p8ezn48
You MUST pre-install and obtain access to the following before the start of the workshop. GitHub Copilot accounts WILL NOT be provided.
Note
There are two ways to use GitHub Copilot for free:
- Use the free tier of GitHub Copilot. While there are limits on the number of requests, this tier is sufficient for the workshop. However, if you tend to engage extensively with the built-in Copilot Chat, you may want to consider the second option. Learn more about the limits here.
- Sign up for the free trial of GitHub Copilot Pro. Note that a payment method is required at sign-up, but you will not be charged until the trial ends. Make sure to cancel before the 30-day trial expires to avoid any charges. Learn more here
- Visual Studio Code
- Venv
- Python 3.10 or higher
- GitHub account
- GitHub Copilot
- GitHub Copilot Visual Studio Extension
- Introductions (5 minutes)
- Overview of the Workshop (10 minutes)
- Disabling Training of Your Data (5 minutes)
- Overview of GitHub Copilot (10 minutes)
- Jupyter Notebook Part 1 (45 minutes)
- Break (15 minutes)
- Jupyter Notebook Part 2 (30 minutes)
- Copilot on Web Browser (10 minutes)
- Refactoring with Copilot (45 minutes)
- Q&A (10 minutes)
-
Clone the repository
First, clone the repository to your local machine and navigate to the directory where the repository is cloned. Open up the terminal in your computer, navigate to the directory you want to store the files to this repo in, and run the following command:
git clone https://github.com/Internet2/class-workshop-researchdev-copilot.git
-
Verify via Command Line Interface (CLI)
Verify that you successfully cloned the repo by running the following command:
ls
You should see the same directory structure as the one in the GitHub repo online.
-
Open repo on Visual Studio Code
Now you are ready to start the workshop. Open up Visual Studio Code on your computer and open the folder that houses the repo.
You should see a directory structure that looks like the one in the screenshot below. (There may be slight differences between the files shown in the screenshot and the one you see in your Visual Studio Code since the GitHub repo is continually updated).