ReRev Labs.Back to The Lab
Free guide · About 30 minutes · No coding

Ask Claude.
Your site goes live.

Build a website with Claude Code, keep it on GitHub, and let Netlify publish it. Then change it any time by asking.

Not a terminal person? Use the no-terminal version. It is our main guide.

Start ↓
1 · You ask Claude
↓
2 · Claude saves it to GitHub
↓
3 · Netlify puts it live

What you need

Part 1

Make your website

1

Make three accounts

About 10 minutes.

Three accountsGitHubgithub.com/signupfreeNetlifyapp.netlify.com/signupfreeClaudeclaude.ai (paid plan)Pro or Max1 · GitHub first2 · "Sign up with GitHub"
2

Install Claude Code

Open a terminal. Mac: Terminal app. Windows: PowerShell.

Maccurl -fsSL https://claude.ai/install.sh | bash
Windowsirm https://claude.ai/install.ps1 | iex
Terminal$ curl -fsSL https://claude.ai/install.sh | bash$ claude --version2.x.x (Claude Code)version number = it worked
3

Install the GitHub tool

This lets Claude save your site to GitHub for you.

  • Run the install line, then the sign-in line. Pick GitHub.com, then "Login with a web browser".
Macbrew install gh
Windowswinget install GitHub.cli
Then, bothgh auth login
Terminal$ gh auth login? Where do you use GitHub? GitHub.com? Authenticate with browser Yes✓ Logged in as your-namelogged in
4

Ask Claude to build the site

Make a folder, open Claude inside it, describe what you want.

Terminalmkdir my-site && cd my-site && claude
Tell ClaudeBuild a simple one-page website for [my business]. Plain HTML and CSS, no frameworks. Mobile friendly, light background, dark text. Sections: intro, what I offer, contact. Keep the words short.
Terminal · my-site$ mkdir my-site && cd my-site$ claude> Build a one-page site for my bakery...type your request here
5

Look at it first

Ask Claude to open it. Not right? Say what to change. Repeat.

Tell ClaudeOpen index.html in my browser.
index.html (preview on your computer)Maple Street BakeryFresh bread, every morning.See the menuyour site, in your browser
6

Send it to GitHub

Claude does this part.

  • Check github.com/your-name/my-site. Your files should be there.
Tell ClaudeSet up git, create a new private GitHub repo called my-site using the gh tool, and push everything.
github.com/your-name/my-siteyour-name / my-siteindex.htmlInitial commitstyle.cssInitial commitREADME.mdInitial commityour files are on GitHub
7

Connect Netlify

Do this once. After that, it is automatic.

  • At app.netlify.com: Add new project → Import a Git repository → GitHub → pick my-site.
  • Leave build command and publish directory empty. Click Deploy.
  • About a minute later you get a link ending in .netlify.app. That is your live site.
Netlify · Add new projectImport a Git repositoryGitHubGitLabBitbucketBuild command: (leave empty) Publish directory: (leave empty)Deploypick GitHubthen Deploy
You have a live website. Send the .netlify.app link to a friend.

Part 2

Update it any time

1

Open Claude in your folder

Terminalcd my-site && claude
2

Ask for one change

Small changes are easier to check.

Tell ClaudeChange the headline to "Baked at 5am." Then open the page so I can see it.
Terminal · my-site$ claude> Change the headline to "Baked at 5am." Done. index.html updated.> Commit and push this to GitHub.two requests = a live update
3

Publish it

  • Wait about a minute, then refresh your live link.
  • In Netlify, Deploys shows "Published" when it is live.
Tell ClaudeCommit and push this to GitHub.
Netlify · DeploysDeploysUpdate headlinePublishedFirst versionPrevious"Published" = it is live
Made a mistake? In Netlify, open Deploys, click an older version, then Publish deploy. Your site is back in seconds.

Cheat sheet

Update loop
Open Claude in the folder → ask for one change → look → "Commit and push this to GitHub."

Good habits
One change at a time. Look before you publish. Never paste passwords or keys into your site.

Stuck?
Tell Claude exactly what you see on screen. Paste the error message. It will fix it.

Your own address
Netlify → Domain management → Add a domain. A custom domain costs extra.