ADVANCED BUILD PATH (FOR TINKERERS)
Get Traffic, Get Paid, Chapter 6. Optional: the drag-and-drop upload in the book is all most people need.

What this gives you: one command that puts your website online from your computer, and keeps
every version of your site in a folder you can track with Git.

1. Install Node.js (the LTS version) from nodejs.org.
2. Open a terminal in the folder that holds your website (the folder with index.html).
3. Add a file named wrangler.jsonc next to index.html, with this text:

   {
     "name": "kitchentests",
     "compatibility_date": "2026-12-01",
     "assets": { "directory": "." }
   }

   Change "kitchentests" to your site's short name. Your address will be
   kitchentests.your-subdomain.workers.dev.

4. Run:   npx wrangler login      (a browser window opens; sign in to Cloudflare yourself)
5. Run:   npx wrangler deploy
6. Open the address it prints, on your phone, and tap every link.

To update later: change your files, then run npx wrangler deploy again.

Optional next steps
- Keep the folder in a free GitHub repository. In Cloudflare, Workers & Pages > Create application >
  From Git repository connects it, so every change you push goes online by itself.
- Add your own domain: open your site in Workers & Pages > Settings > Domains & Routes > Add.

Never share your Cloudflare password or put API keys in your website folder: everything in that
folder is public.
