Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.55 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.55 KB

TheoremOS frontend

This directory contains the workbench browser source, website build source, and frontend tests. Use the matching harness checkout for shared types, public proof records, and Bun dependencies.

Use Bun and the Rust toolchain supported by the harness. With the two repositories checked out as siblings, run the following from the product checkout.

bun install --cwd ../theorem-os-harness --frozen-lockfile
bun frontend/build.ts ../theorem-os-harness ../theoremos-output all

Use web to produce web/ and web-report/, or site for a preview in site/. Point the harness's THEOREMOS_WEB_STATIC_ROOT at the absolute path to web/. The workbench uses the harness's existing same-origin HTTP routes. Keep the two output directories from the same frontend build together when using the report commands.

The site build regenerates the proof catalog and archive from the selected harness commit. The public site uses the maintained HTML and assets at the product repository root. A preview build writes to the output directory above.

To run a command that needs both source trees, use run. The command runs from a temporary directory with the combined source layout and sees the selected output directory as out/.

bun frontend/build.ts ../theorem-os-harness ../theoremos-output run bun run typecheck:web

The source was moved from the harness at commit aa028d2, which keeps the earlier Git attribution. License · Notices