Claude Code Course
Static Site Deploy Starter
An exclusive resource for students of Arun's Claude Code Course.
Two small files that sit at the top of your project before you deploy. Neither one is complicated, and both save you a specific failure you would otherwise meet on the live URL rather than on your machine.
You do not have to type either of these by hand. The deploy prompts ask Claude to write them for you, and Claude checks what is already in your folder before it changes anything. Keep this page for the day you want to read what those files are actually doing.
The .gitignore
Git takes a snapshot of your project every time you commit. This file is the list of things you are telling it to skip.
The point is not tidiness. The point is that some of what sits in a project folder is not your work, and some of it should never go online at all.
# Machine-local settings .DS_Store Thumbs.db .vscode/ .idea/ # Secrets. Never commit these .env .env.* secrets/ # Dependencies and build clutter, if the project ever grows into them node_modules/ dist/ build/ # Local Claude Code approvals, which stay on your machine .claude/settings.local.json
Two lines earn special mention.
.env and .env.* hold API keys. A key committed to a public repository is a key that is now public, and rotating it afterwards is a worse afternoon than adding this line was.
.claude/settings.local.json is where your Always allow clicks get written. Claude Code adds it to git's ignore list itself the first time it saves there, so it never leaves your machine. It is listed here so you know why it is missing when a teammate clones your project.
The vercel.json
A plain HTML, CSS and JavaScript site barely needs configuration at all. Nothing in this file is something the deploy depends on. What it adds is caching rules and a couple of small security headers, which are protective settings the browser reads before it shows your page.
{
"cleanUrls": true,
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
},
{
"source": "/(.*)\\.(css|js|png|jpg|jpeg|svg|webp|woff2)",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
]
}
]
} The two things that break a first deploy
File name capitalization. Your computer treats Hero.png and hero.png as the same file. The server hosting your live site does not. So a link that worked locally points at nothing once it is live. Ask Claude to audit your file names against your code before you push, and it catches this in seconds.
A change you saved but never sent. The fix lived on your machine, and the deployed site is still running the old version, because the new code was never committed and pushed. Committing is saving locally. Pushing is sharing. You can commit ten times before you push once, and only the push reaches the internet.
After the first deploy
Vercel switches on a protection setting by default that puts a login wall in front of your site, including in front of the link previews on LinkedIn and Slack. Check the live address yourself before you send it to anyone. If it asks for a login, turn that protection off in the project's settings, or ask Claude to do it and recheck.
Keep building
More from Aruntastic
Practical courses for people who want to build useful things with AI.
AI SEO Course 2026: From Zero to Page-One Results
Research search demand, structure useful pages, and work through technical and off-page SEO.
Open the course →
AEO, GEO, AI SEO: Get Cited by ChatGPT, Google, Perplexity
Study how AI search finds information, and make your pages clear enough to be cited.
Open the course →
Microsoft PowerPoint Presentation 2026 for Professionals
Learn visual hierarchy, slide composition, typography and animation through practical work.
Open the course →
AI Leadership: Gen AI for Leaders, A Practical Toolkit
A short course on using generative AI as a co-pilot, written for senior leaders.
Open the course →
Agentic AI Explained: How AI Agents Actually Work
Coming soon. Follow real agent work, then learn how models, tools, memory and checks fit together.
Join the waitlist →Toolkits and programme
Go deeper
Toolkit
SEO Accelerator Toolkit
150+ copy-paste AI prompts for audience research, keywords, content, technical SEO and link building.
Toolkit
GEO Accelerator Toolkit
100 detailed AI prompts for GEO audits, entity building, content structure and client reporting.
Programme
GEO Authority Accelerator
A complete GEO programme on our learner platform: nine modules and a 30, 60, 90 day roadmap. The GEO Accelerator Toolkit is included.
Claude certification practice
Preparing for a Claude certification?
Practice exams written by Arun: 600 questions across 4 mock exams and 2 drill banks. Unofficial preparation, not affiliated with Anthropic.
See Where You Stand
This resource is one piece of a much bigger system.
Take the free Claude Code Readiness Quiz. It is 15 short situations, scored out of 100, and it tests how you handle a job rather than what you know about a tool, so you can take it without ever having opened Claude Code.
Take the Claude Code Readiness Quiz 15 situations · Scored out of 100 · Free
CCAR-F
CCAO-F
CCDV-F
CCAR-P