Skip to content

Opening the Repository (Local or GitHub Codespaces)

Choose the workflow that best fits your setup. If you're working locally in your development environment, we assume all required tools are already installed (see the Resources page for a quick prerequisite checklist). If you prefer a fully hosted experience, follow the GitHub Codespaces path.

Event attendees

If you are attending this workshop at a Microsoft event (where a pre-provisioned lab environment is available), you can still follow the Local environment instructions if you prefer to work on your own machine. The Local environment steps assume you will provide any required credentials and resources locally instead of using the event lab. See the event guidance for details about the lab resources and credentials.

  1. Open the repository page: Real World Code Migration with GitHub Copilot Agent Mode

  2. Clone the repo to a working folder on your machine:

    git clone https://github.com/microsoft/aitour26-WRK541-real-world-code-migration-with-github-copilot-agent-mode.git
    
  3. In VS Code, choose File > Open Folder and select the cloned folder.

  4. Sign in to GitHub in VS Code and ensure GitHub Copilot is enabled. (Command Palette → GitHub: Sign in.)

  5. Restore dependencies for the python project:

    cd src/python-app
    
    pip install -r requirements.txt
    
  6. You're ready to follow the rest of the workshop locally. If you need the tool list, see the Local environment prerequisites section on the Resources page.

  1. Visit the repository: Real World Code Migration with GitHub Copilot Agent Mode
  2. Log into your GitHub account.
  3. Click the Star button in the top right corner—this makes it easy to find later.
  4. Click the <> Code button, open the Codespaces tab, then select + to create a new Codespace.

    Create a new Codespace

  5. Wait for the Codespace to finish provisioning in the browser.

  6. Once the Codespace is ready, you'll see a VS Code experience in the browser. You can continue there or click Open in VS Code to connect from your desktop.

    Open in VS Code button

Success

To revisit the workshop later, click your profile picture on GitHub and select Your stars.