← All chapters
CHAPTER 10 / 12

From local preview to live app.

The finish line for the demonstration is a deployed, usable link.

Local and live

A local preview runs on your computer. Deployment places a version on hosting so others can open it. A local change does not automatically mean the live app has changed.

Ready to publish?

Check off as you go · resets when you leave this page0 / 6 ready

Ask for a concrete deployment plan

TRY THIS PROMPT

Prepare to deploy this project as a new Cloudflare Worker named [new-worker-name]. Confirm the account, configuration, visibility, build checks and expected costs. Do not change other apps. Explain the exact action and wait for my approval before deployment. After approval, publish and verify the public URL and main task.

Check the actual live version

Open the public URL in another browser or device. Check that styling, fonts and links load and the main task works. Ask the AI to report the exact deployed URL and what it verified.

If deployment fails

TRY THIS PROMPT

Explain this deployment error in plain language. Identify the failing step, what evidence you need and the smallest safe correction. Remove credentials from any shared output. Do not reset databases, delete apps or weaken access controls to make deployment pass.

Recovery has more than one part

A code rollback can restore an earlier app version. Database records and uploaded files need their own recovery plan. Ask the owner and coding partner to document all three where they apply.