🚀 First Deploy
This is launch day.
Build the project
Go to the terminal where your project lives (not the one running the dev server) and run:
npm run buildThis takes your Svelte code and compiles it into optimized HTML, CSS, and JavaScript that browsers can run. Think of it as packing the rocket — everything gets compressed and prepared for launch.
You should see output ending with something like "build done."
Deploy to Cloudflare
npx wrangler deployThe first time you run this, Wrangler may ask you to confirm the project name. Say yes.
Watch the output. Wrangler is uploading your built site to Cloudflare's global network. When it finishes, you'll see a URL that looks something like:
https://launchschool.stooge.workers.devThe big moment
Open that URL in your browser.
Your website is on the internet. Anyone in the world with this link can see it.
Send it to a friend. Send it to a grandparent. Send it to someone in another country. It works for all of them — Cloudflare is serving your site from servers on every continent.
This is your model rocket reaching the sky. You built it. You understand how it works. You launched it yourself.
Take a moment here. This is a genuinely significant milestone. Your kid just built and deployed a multi-page web application using professional tools. The URL is real. The technology is real. Celebrate it.
If you can visit your .pages.dev URL from your phone (on cellular, not wifi), you've confirmed it's truly on the internet and not just running on your computer.