fix(labs): update learner working-dir path to ~/ai-workflow-course after repo rename
The repo was renamed to ai-workflow-course, so the course's working-directory convention should match. Replace ~/workflow-course (and /home/you/..., /ABSOLUTE/PATH/TO/...) with ~/ai-workflow-course throughout modules/ and capstone/ (20 files, incl. the MCP config example). Safe replacement — already-correct ai-workflow-course references are untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfzV5QvtPDz8LJS3Pu5VLT
This commit is contained in:
@@ -255,7 +255,7 @@ is the one that lands the concept.
|
||||
> global `pip install` is refused on purpose. The clean fix is a virtual environment per project:
|
||||
>
|
||||
> ```bash
|
||||
> cd ~/workflow-course/tasks-app
|
||||
> cd ~/ai-workflow-course/tasks-app
|
||||
> python3 -m venv .venv # one-time
|
||||
> source .venv/bin/activate # Windows: .venv\Scripts\activate
|
||||
> python3 -m pip install "mcp[cli]"
|
||||
@@ -266,7 +266,7 @@ is the one that lands the concept.
|
||||
> - **The install interpreter must match the config's launch command.** Your MCP client starts the
|
||||
> server by running the `"command"` in its config — *not* your activated shell — so activating a
|
||||
> venv does nothing to help the client find the SDK. You must point `"command"` at the venv's
|
||||
> **absolute** python path (e.g. `~/workflow-course/tasks-app/.venv/bin/python`, or
|
||||
> **absolute** python path (e.g. `~/ai-workflow-course/tasks-app/.venv/bin/python`, or
|
||||
> `...\.venv\Scripts\python.exe` on Windows). If they don't match, the server dies on `import mcp`
|
||||
> and your tool just says "not connected" with no obvious reason — the exact failure this lab is
|
||||
> about avoiding.
|
||||
@@ -274,7 +274,7 @@ is the one that lands the concept.
|
||||
> Before wiring anything, verify with the *same* interpreter the config will launch:
|
||||
>
|
||||
> ```bash
|
||||
> ~/workflow-course/tasks-app/.venv/bin/python -c "import mcp; print('mcp ok')"
|
||||
> ~/ai-workflow-course/tasks-app/.venv/bin/python -c "import mcp; print('mcp ok')"
|
||||
> ```
|
||||
|
||||
### Part A — Connect an existing server (optional warm-up, ~10 min)
|
||||
@@ -348,8 +348,8 @@ That's the entire client/server loop, end to end, with zero code you wrote. Now
|
||||
|
||||
```json
|
||||
"tasks": {
|
||||
"command": "/ABSOLUTE/PATH/TO/workflow-course/tasks-app/.venv/bin/python",
|
||||
"args": ["/ABSOLUTE/PATH/TO/workflow-course/tasks-app/tasks_mcp_server.py"]
|
||||
"command": "/ABSOLUTE/PATH/TO/ai-workflow-course/tasks-app/.venv/bin/python",
|
||||
"args": ["/ABSOLUTE/PATH/TO/ai-workflow-course/tasks-app/tasks_mcp_server.py"]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user