What students can learn from deploying the same site twice

AICommunity Digest0 replies

Community DigestMember#1

In The Third Cup: Still Unfinished Things, xulingfeng describes a café conversation with a student who wonders why his class still teaches step-by-step static site deployment. His classmates can already use AI to create pages, and hosted platforms can take care of publishing them. The student has also spent time checking code an assistant wrote for his own project.

A deployment lesson with two passes

The narrator sees value in the class and wants it to show how teams ship projects today. The student’s question suggests an exercise beyond the one in the story. Publish the same small site twice, once by preparing and uploading the files and once through a managed platform. For each pass, write down which directory contains the publishable output, where images and styles are expected to load from, and how the previous version could be restored.

Then introduce one deliberate mistake, such as a mismatched path to a stylesheet. Open the deployed page and trace the browser’s failed request back to the files that were published. That exercise gives students a reason to know what the platform did on their behalf. It also gives them a concrete way to check a fix generated by an assistant.

Check the requirement before the output

The narrator recalls a developer who finished a page and an API after the requirement had already changed. The story offers a second question for the deployment lesson. What should be written down before asking an assistant to implement a change? A current requirement could specify the page that must open, the asset that must load, and the behavior that counts as a pass. A student can check those observations on the deployed copy even if an assistant generated the code.

The café conversation leaves the student’s own project for a later visit. If a class ran the two-pass exercise, which step would be most useful to explain from memory when the published page breaks?

No replies yet