Three weeks in, you have an idea page, a research/ folder, and a spec — all on GitHub. Today it becomes a product: your AI turns it into a single index.html and we put it live on Vercel — a URL anyone on earth can open. Then we look one week ahead at the midterm defense on June 20, so nothing about it surprises you.
This is the most AI-native class yet. Your AI runs the terminal end to end — it writes your page, deploys it, reads any error and fixes it. You do the two things only a human can: click Authorize in the browser, and decide what's honestly true.
Every step is a prompt you can copy — drop it into Codex or Cursor. Keep this page open all class. Stuck? Mia is here.
01 · Where we are, and today
You haveAn idea page, research, and spec.md on GitHubEverything from weeks 2–3. Today the same repo grows up.
Part 1Ship it — your project goes live todayPolish your page with AI, deploy it with Vercel, walk out with a live URL.
Part 2Know the June 20 midterm, exactlyThe format, the eight sections, the two integrity rules — no mystery left.
02 · Your whole project is one file
From today your project is a single index.html — plain HTML, CSS and JavaScript. It opens with a double-click: no build, no framework, nothing to break. The only reason we need Node.js at all is the Vercel command line that puts it online in section 04. Let your AI check your machine first — paste this:
请检查我的电脑环境,为接下来用命令行把网站部署上线做准备:依次运行 node -v、npm -v、git --version,把结果用中文解释给我听。如果 node 没装:我是 Windows 就指导我去 https://nodejs.org/zh-cn 下载 LTS 版 .msi 安装包,我是 Mac 就下载 .pkg;如果官网下载太慢,改用国内镜像 https://npmmirror.com/mirrors/node/ 里最新 v22 目录下的对应安装包。装完后让我重开终端再跑一次 node -v 验证。如果实在装不上也别卡住,告诉我可以改用浏览器网页的方式部署(本页 04 节的 Plan B,完全不需要 Node)。
Gotcha 1Reopen your terminal after installingA fresh install doesn't show up in old windows. Close the terminal — or restart Cursor — then run node -v again.
Gotcha 2Windows says "running scripts is disabled"If PowerShell refuses to run npm, tell your AI — it will switch you to cmd or run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser.
No Node?You still ship todayCan't install it in time? Deploy from the browser instead — Plan B in section 04 needs no Node at all. Flag Mia and keep moving.
03 · Make your page — one index.html
One prompt turns your weeks 2–3 work into a single index.html — a real, openable page with one interaction that actually works. No framework, nothing to install, nothing to break. Paste it whole — it already routes around the trap we tested live (the main file that isn't named index.html):
Double-click index.html — it opens in your browser, right there on your machine. Looks right? Now let's put it on the internet.
04 · Ship it — Vercel
Three commands put it on the internet: login → link → deploy. Your AI runs all of them end to end; you touch the browser at most twice, where it says you. Paste this and watch:
When the terminal stops and waits, it's waiting for you. The two moments only a human can do:
You click ①Authorize the login in your browserThe terminal prints Visit https://vercel.com/oauth/device?user_code=... and waits. Open it, sign in with GitHub, check the code matches the terminal, confirm. It expires in ~10–15 min — just rerun if it does.
You click ②Install the Vercel GitHub App — only if askedIf connecting the repo fails, open github.com/apps/vercel → Install → All repositories, then let your AI retry.
From now ongit push = the site updates itselfGitHub and Vercel are now connected. Push your repo and Vercel rebuilds automatically — deploying stops being a thing you do.
Plan B — if the CLI path gets stuck, ship from the browser instead
Step 1Sign in at vercel.comContinue with GitHub — the account you registered last week.
Step 2Add New… → ProjectThe dropdown at the top right of the dashboard — same as opening vercel.com/new.
Step 3Find your repo under "Import Git Repository"The list shows every repo your GitHub account can write to. Click Import on yours.
Step 4Repo not listed? Adjust the GitHub AppClick "Install" / "Adjust GitHub App Permissions" → choose All repositories → Install. It jumps straight back.
Step 5Check the preset, then DeployFramework Preset = Other — it's plain HTML, no build settings to touch. Click Deploy, wait a few seconds.
Step 6Grab your URL from the congratulations pageYour xxx.vercel.app link is there. The GitHub App is installed too, so push = auto-deploy — same place the CLI path ends.
05 · When it doesn't open right
Plain HTML has no build step, so it can't "fail to build" — but a live page can still open as a 404, blank, or with broken styling. The fix is AI-native: the symptom is your next prompt. Open your URL, press F12 → Console for any red errors, then paste:
Most commonA 404 means no index.html at the rootVercel serves the file literally named index.html. Wrong name or wrong folder → 404. Ask your AI to fix the name and push.
The loopFix → push → auto-redeployEvery push triggers a fresh deploy. Repeat until it looks right — that's the whole job.
06 · Prove it
Shipped means someone else can open it. Two proofs before you move on:
Proof 1Open your URL on your phoneNot localhost — the real https://xxx.vercel.app, on mobile data if you can.
Proof 2Post it on the deployment wallPaste your live URL in the class group chat — nine projects, nine URLs.
Heads-upvercel.app may not open on some China networksIf it won't load, your deploy still succeeded — try another network. (Fixing this for everyone is exactly what a custom domain is for — coming later.)
07 · The midterm defense — June 20
Part 2. Switch gears: next Saturday, June 20, is your midterm defense — the same format as the final defense, one week from today. Here's everything it asks:
Format10 minutes each: 7 + 3A 7-minute talk in English with your PPT, then about 3 minutes of comments and questions in English and Chinese.
The deckAll English · Times New Roman · ≥ 12pt · 1.15 line spacingBuilt on the official template — and delete the instructions page before you submit.
Submit firstUpload your PPT to the Feishu form before the defenseAdvisors read it in advance: https://rwz06e4m52t.feishu.cn/share/base/form/shrcntRnWynBNiOQwMqybSRhfXd
No gradesPass / fail only — a checkpoint, not a trialIt exists to catch problems early. Don't stress; prepare steadily and you'll be fine.
08 · The eight sections
The official template is eight sections. Think of each as one question your slide must answer:
Slide 1TitleProject title, your name, your research advisor.
Slide 2Research QuestionWhat are you trying to find out — and what do you expect to find (your hypotheses)?
Slide 3BackgroundWhy does this issue matter, and to whom? Why should a stranger care?
Slide 4Literature ReviewWhat's already known, what's still unsolved — and where your project fits in.
Slide 5Research Design & MethodHow you'll collect data, how you'll analyze it — and the method's limits.
Slide 6Research Plan & ChallengesYour steps with dates, where you are now, what might block you — and your plan B.
Slide 7Preliminary ResultsWhat you have so far — your live prototype counts. Interpret it honestly.
Slide 8ReferencesAt least 3 key sources, APA format, alphabetical order.
Plus one short thank-you slide at the very end. Tomorrow's class is exactly this: writing all eight sections in English, with AI, from what's already in your repo.
09 · Two rules — honest results, real references
Everything else is style. These two are integrity — break them and the midterm doesn't hold:
Rule 1Slide 7 shows what's realA screenshot of your live prototype + what you honestly expect to find. "We expect…" is a strong sentence.
NeverInvent user dataNo made-up user counts, ratings, or quotes. You haven't run the study yet — and the advisors know it.
Rule 2References must be real and findableSearch each title on Google Scholar yourself. It only goes on slide 8 if you can open it.
AI citesTreat AI's citations as leads, not sourcesAI sometimes invents perfect-looking papers. Scholar finds it, or it doesn't go in.
10 · Leave with
TodayA live URL anyone can openYour project on the real internet — a link you can send anyone.
TodayYou know exactly what June 20 asksEight sections, 7 minutes, in English, pass / fail — no surprises left.
HomeworkCome tomorrow with spec.md and research/ readySunday's class writes your full midterm talk from them, section by section.
Not live yet?Wednesday office hour fixes it firstBlocked by network or Node? Deployment is the first thing we solve in your OH slot.
11 · Before you go — class feedback
Two minutes, every class. Tell us what landed and what didn't — it directly shapes next week's class.
Generation AI · Class Reflection & Feedback
Two minutes — your feedback goes straight to the teacher and shapes the next class. Thanks!