> ## Documentation Index
> Fetch the complete documentation index at: https://herwaka.shesharp.org.nz/llms.txt
> Use this file to discover all available pages before exploring further.

# Week 2 — Deploy Your Personal Website

> Fork the Magic Portfolio template through conversation, customise the content in plain English, and ship to Vercel via AI-invoked CLI. By the end of class you have a yourname-portfolio-*.vercel.app URL.

> [!TIP]
>
> **Multi-week series · Week 2 of 8** · \~2 hours of class + lab

By the end of class you should have a `yourname-portfolio-*.vercel.app` URL that features your photo, short bio, two real projects (or study projects), and your email — all on a responsive, dark-mode-capable site. You will not write a single line of code by hand.

> [card] Fork through chat
>
> Ask Cursor to fork the Magic Portfolio Vercel template — no `git clone`, no manual setup.

> [card] Describe, don't code
>
> Bio, accent colour, project cards — describe each in plain English, watch AI write the MDX/TSX.

> [card] Deploy by prompt
>
> AI invokes the Vercel CLI; you get a production URL and read build logs through chat when something fails.

## Learning objectives

By the end of this session, you should be able to:

* **Fork a production-ready Vercel template through natural-language requests**, without ever cloning a repo with your own hands or running `git clone`.
* **Describe website content in plain English** — bio, projects, links, theme — and watch Cursor translate that description into clean, committed source changes.
* **Trigger a Vercel deploy by prompt**, read the deployment's build log when something goes wrong, and recover by describing the failure to the AI.

## Core topics

* How a Vercel template becomes your own site in one conversation.
* The "describe content in English, let AI write the MDX/TSX" pattern that powers Weeks 2–6.
* The deploy-preview loop: every commit triggers a preview URL you can review before promoting to production.
* Why the first site deploy should be boring on purpose — we'll add the exciting AI bits next week.

## Tools introduced this week

| Tool | Role this week |
| - | - |
| **Cursor** | The one chat window where everything happens |
| **Vercel MCP** | AI creates the project, deploys, reads logs, sets env vars |
| **GitHub** | Every commit pushes; Vercel rebuilds automatically |
| **Next.js 14** | The framework the Magic Portfolio template ships on |
| **Tailwind CSS** | Styling; AI edits classes when you describe visual changes |
| **Magic Portfolio** | [Vercel template](https://vercel.com/templates/next.js/magic-portfolio) we fork as the starting point |

> [!NOTE]
>
> **Prerequisites:** Complete [Week 1 — AI Developer Toolkit](https://herwaka.shesharp.org.nz/tutorial/ai-bootcamp/week-01-dev-tools.md) first. You need Cursor signed in, the Vercel MCP installed, and GitHub connected before this lab will work.

> [card] [Download Week 2 PDF](https://cdn.jsdelivr.net/gh/ChanMeng666/her-waka@main/curriculum-pdfs/week-02-portfolio-deploy.pdf)
>
> **Full lecture · 629 KB** — Session plan, hands-on lab steps, troubleshooting.

> [card] [Continue to Week 3](https://herwaka.shesharp.org.nz/tutorial/ai-bootcamp/week-03-ai-avatar.md)
>
> Add an AI clone of yourself


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.