New: move an existing site in one prompt →
Docs menu

Docs Code and publishing

Work on your computer

Run the site and the editor locally before anything goes live.

Inside your site's folder:

npx hettie dev

Your site runs at http://localhost:4321 with its own editor and MCP server, and a separate local database. Nothing you do here touches the live site.

Try the real build

npx hettie preview

Builds the site the way it runs live, then serves it at http://localhost:4173. Use it to check a change before you publish.

Options

  • --port 5000 picks another port.
  • --host opens it to other devices on your network.