Setup: Switching to the training branch

Setup: Switching to the training branch

Before the training begins, please follow these steps to make sure your on the correct branch.

1. Open the project in VS Code

Open the carton-case-managment repo in VS Code and open a new terminal (Terminal → New Terminal) or CMD+J if your on Mac.

2. Discard any local changes (if you attended Git Basics)

If you made changes during a previous training, discard them first so you start fresh:

git reset --hard origin/main

⚠️ This will permanently remove any uncommitted changes and untracked files. If you have work you want to keep, save it elsewhere first.

3. Switch to the training branch

git fetch origin git checkout ai-training git pull

4. Verify you're on the right branch

At this point, you should have the server running in Docker from the prerequisite setup. Navigate to http://localhost:5173 in your browser — you should see the new home page, like the screenshot below.