Vercel 또는 Netlify에 배포하기
인공지능의 도움으로 원클릭 호스팅을 이용하십시오.
Vercel 또는 Netlify에 배포하기은(는) CoddyKit의 무료 Vibe Coding 강의입니다. 이것은 4개 중 2번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 Vibe Coding 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. Vibe Coding 강의에는 총 4개의 강의가 포함되어 있습니다.
이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.
Time to Go Live
You understand what deploying means. Now let's actually do it. By the end of this lesson, your app could have a real public link.
We'll use Vercel and Netlify — two of the friendliest hosts for beginners. Both can take your project and give you a live URL in minutes, often with a single click.
And the best part: AI can walk you through every step in plain English.
Two Ways to Deploy
There are two common paths to get your app onto a host:
- From Git: you connect your code repository (on GitHub), and the host auto-deploys every time you push. This is the modern, recommended way.
- Drag and drop: for simple static sites, Netlify lets you literally drag your project folder into the browser.
Git-based is the standard because it gives you automatic updates. Don't worry if Git feels new — AI can set it up for you.
Step 1: Get Your Code on GitHub
Hosts deploy from GitHub, a place that stores your code online. If your project isn't there yet, ask AI to help.
In Cursor or Claude Code, your AI assistant can run the commands for you. Just describe what you want.
My project is a folder on my laptop called "my-portfolio". It's not on GitHub yet.
Walk me through getting it onto GitHub:
1. The exact commands to create a Git repo and push it.
2. How to make a new GitHub repository.
3. Explain each command in one short sentence.
I'm a beginner — assume I've never used Git.Step 2: Connect to Vercel
Once your code is on GitHub, deploying to Vercel is almost too easy:
- Sign in to Vercel with your GitHub account.
- Click Add New Project and pick your repository.
- Vercel auto-detects your framework and settings.
- Click Deploy.
In about a minute, you get a live URL like my-portfolio.vercel.app. That's it — your app is on the internet.
Step 2 (Alt): Connect to Netlify
Prefer Netlify? The flow is nearly identical:
- Sign in to Netlify with GitHub.
- Click Add new site → Import an existing project.
- Choose your repo.
- Confirm the build settings and click Deploy.
For a plain static site (just HTML/CSS/JS), you can even skip GitHub and drag your folder onto Netlify's dashboard. Both routes end the same way: a live link.
Build Settings, Explained
During setup you may see fields like Build Command and Output Directory. These tell the host how to prepare your app.
- Build Command: what to run, often
npm run build. - Output Directory: where the finished files land, often
distorbuild.
For popular frameworks, the host fills these in automatically. If you're unsure, leave the defaults — or ask AI what your project needs.
Let AI Diagnose Build Settings
If the host can't auto-detect your project, paste your setup to AI and let it tell you exactly what to enter. This saves a lot of guessing.
Vercel is asking me for a Build Command and Output Directory, but I don't know what to put.
Here's my project:
- It's a Vite + React app
- My package.json has a "build" script
- There's a "dist" folder after building
Tell me exactly what to type in each field, and explain why.Your First Successful Deploy
When the build finishes, you'll see a green success message and a clickable link. Open it — and there's your app, live for the world.
Share that link with a friend on their phone. Seeing your project work on someone else's device is a milestone worth celebrating.
Here's a fun snippet: a tiny banner you might add to remind visitors your app just shipped.
function shipBanner(appName, liveUrl) {
return "\uD83D\uDE80 " + appName + " is now live at " + liveUrl + "!";
}
console.log(shipBanner("My Portfolio", "my-portfolio.vercel.app"));When a Deploy Fails
Sometimes a deploy fails — that's normal, not a disaster. The host shows a build log: a long message explaining what went wrong.
You don't need to read it line by line. Copy the error and hand it to AI. Debugging deploys is one of the things AI is best at.
- Find the red error in the build log.
- Copy it.
- Ask AI to explain and fix it.
Paste the Build Error to AI
Here's how to turn a scary build failure into a quick fix. Give AI the error and context about your project for the best result.
My Vercel deploy failed. Here's the error from the build log:
Error: Cannot find module 'react'
npm ERR! code ELIFECYCLE
Context:
- It's a React app that runs fine on my laptop
- I pushed it to GitHub and connected Vercel
Explain in plain English what's wrong and give me the exact steps to fix it so the deploy succeeds.Automatic Updates
Here's the magic of Git-based hosting: once connected, you never repeat this setup. Every time you push new code to GitHub, the host automatically rebuilds and redeploys.
Make a change, save it to Git, push — and seconds later your live app updates. This is continuous deployment, and it's why builders love Vercel and Netlify.
We'll explore safe updates in a later lesson. For now: deploy once, update forever.
Quick Check
You've shipped your first app. Let's lock in how it works.
Recap: You're Live
You just learned how to actually ship an app:
- Get your code on GitHub (AI can do the Git steps).
- Connect the repo to Vercel or Netlify and click Deploy.
- Build settings are usually auto-detected — ask AI if unsure.
- A failed deploy is fixable: paste the build error to AI.
- After setup, every push triggers an automatic redeploy.
Next: making your app feel professional with a custom domain and safe environment settings.
자주 묻는 질문
“Vercel 또는 Netlify에 배포하기” 강의는 무료인가요?
네 — “Vercel 또는 Netlify에 배포하기” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 Vibe Coding 강의 전체를 잠금 해제할 수 있습니다. Vibe Coding 강의에는 총 4개의 강의가 포함되어 있습니다.
“Vercel 또는 Netlify에 배포하기”에서 뭘 배우나요?
인공지능의 도움으로 원클릭 호스팅을 이용하십시오. 브라우저에서 직접 실행하는 실습 코드로 Vibe Coding을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.
Vibe Coding을(를) 시작하는 데 경험이 필요한가요?
사전 경험은 필요하지 않습니다. CoddyKit의 Vibe Coding은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 2번째 강의입니다.
“Vercel 또는 Netlify에 배포하기” 강의는 얼마나 걸리나요?
대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.
이 Vibe Coding 강의에서 코드를 작성하고 실행할 수 있나요?
네. 모든 Vibe Coding 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.
이 강의의 모든 강의
- 배포의 의미
- Vercel 또는 Netlify에 배포하기
- 사용자 지정 도메인과 환경
- 실행 중인 앱 업데이트