Build from Source
Use this path for contributors and advanced local development.
Prerequisites
- Rust (stable)
- Node.js 20+
pnpm
Platform-specific dependencies are listed in the repository README.
1. Clone
git clone https://github.com/frumu-ai/tandem.gitcd tandem2. Install JS dependencies
pnpm install3. Build engine binary
cargo build -p tandem-aiThis produces the tandem-engine binary from the tandem-ai package.
4. Run
cargo run -p tandem-ai -- serve --host 127.0.0.1 --port 39731In another terminal:
cargo run -p tandem-tui5. Development and testing references
- Engine Testing
docs/ENGINE_TESTING.mddocs/ENGINE_CLI.md
6. Build docs (Starlight)
From guide/:
pnpm installDOCS_SITE_URL=https://tandem.docs.frumu.ai/ DOCS_BASE_PATH=/ pnpm buildNotes:
- Root-hosted docs (
https://tandem.docs.frumu.ai/) should useDOCS_BASE_PATH=/. - Reverse-proxy docs at subpath (
https://tandem.frumu.ai/docs/) should use:
DOCS_SITE_URL=https://tandem.frumu.ai/ DOCS_BASE_PATH=/docs/ pnpm build- Whatever base path you build with, your proxy/static host must serve both:
<base>_astro/*<base>pagefind/*