Skip to content
Navigation

Primary

Building and publishing

A build needs PHP and Node.js 20 or newer; it needs no Vite, npm packages or other frontend build tools. The command reads the Markdown and the JSON, checks the Framework lock and creates a finished static folder. Node.js runs the SIMAI Framework page composition code.

The safe path

  1. Build the production output.

  2. Check it with verify-static.

  3. Open that same output over HTTP through serve --no-build.

  4. Before publishing, move the checked folder to staging.

  5. Compare the digest, run the smoke checks, and only then switch the traffic.

  6. On an error, bring back the previous folder you kept.

Bash
php vendor/bin/docara build production
php vendor/bin/docara verify-static build_production
php vendor/bin/docara serve production --host=127.0.0.1 --port=8000 --no-build

The preview holds the terminal until Ctrl+C. Do not use file://.

Guides

A successful local check is no automatic permission for a public release or a production deployment.