Skip to content
CodArchthe living map of the architecture
ESEN

codarch render

Publishes the static webapp with a snapshot inside, ready to serve.

Ventana de terminal
codarch render <file.cc.json[.gz]> [options]
OptionWhat it does
-o, --out <dir>Output folder. Defaults to next to the cc.json.
-h, --helpHelp.

Copies the webapp to the output folder with the snapshot at data/snapshot.cc.json. Prints the file, the output, the command to serve it (npx serve "<output>"), file count, project and time. Use it to publish the map on any static host.

Ventana de terminal
codarch render .codarch/snapshot.cc.json -o public
npx serve public
CodeMeaning
0App published.
1Missing or invalid cc.json, web build not found or the output could not be written.