Skip to content
Documentation
v0.1.6

Development

Run databases in Docker by default, with a native Rust watcher and Next.js hot reload. Apple containers and existing databases are supported alternatives.

Prepare the toolchain#

Use the pinned Rust toolchain in rust-toolchain.toml (1.99.0), Node.js 24, npm 11, OpenSSL, and a supported database runtime. Install Xcode command-line tools on macOS.

Terminal
git clone https://github.com/godellabs-ai/godel-tally.git
cd godel-tally
make web-install
cargo install cargo-watch --locked
make dev

The launcher builds the registry and initial Rust executable, then runs one cargo watch process for tallyd and npm run dev for Next.js. Rust changes rebuild automatically; UI changes use hot reload.

Development addresses and databases#

Open https://localhost:8080. Next.js proxies to Rust on 127.0.0.1:8788; the private upgrade listener uses 127.0.0.1:8789. Set TALLY_DEV_BIND and matching TALLY_URL to change the development console address.

Terminal
# Apple silicon + macOS 26 + Apple container
TALLY_DB_MODE=apple make dev
# Leave managed databases running after Ctrl-C
TALLY_KEEP_DB=1 make dev

For existing databases, set their URLs and TALLY_DB_MODE=existing. Per-database overrides use TALLY_POSTGRES_MODE and TALLY_CLICKHOUSE_MODE. Development passwords are local defaults; the customer installer generates random credentials.

Build the embedded production UI#

Terminal
make build
make run
# Package this host's binary and installer helpers
make package

make build exports the UI in an isolated staging directory, generates registry artifacts, and compiles tallyd with embedded-ui. It does not rename live development files. make run uses HTTPS on port 2357 and Docker databases by default.

cargo run -p tallyd is the development backend without embedded assets. The explicit feature keeps Rust-only edits from requiring a UI export.

Run the container deployment from source#

make docker-up builds the Tally image from your checkout and starts the same Compose deployment as Install with Docker, keeping its state in .local/docker-state.

Terminal
make docker-up
# Stop the stack; retain database volumes
make docker-down

Validate changes#

Terminal
make check
bash scripts/test-deployment.sh
make compose-check

The main check builds the UI and registry, checks formatting, runs Clippy and workspace tests, validates generated schemas, and runs web lint, tests, and type checks. Deployment fixtures exercise installers and service/container lifecycles without changing real host services.

Use focused tests for the changed behavior. Browser and database integration tests require an isolated test environment; ordinary unit tests do not prove live vendor compatibility. See Contributing for privacy, fixture, and review requirements.

Build platform releases#

On a Mac, install cargo-zigbuild and Zig, then build all four archives:

Terminal
make release-local

The build targets Linux amd64/arm64 and macOS amd64/arm64. Archives and SHA256SUMS are written under dist/v<version>. Each bundle includes the embedded UI executable, installer, uninstaller, and runtime/upgrade helpers.

Before publishing, verify archive architectures and checksums, run the binary on compatible hosts, test installation and authentication, and commit generated metadata. A cross-compile alone does not prove runtime compatibility on every target.

Publish the GitHub release

Commit and push the version change and its CHANGELOG.md entry, run gh auth login, then:

Terminal
make publish-release

The target reuses the archives in dist/v<version> only when they were built from the current commit without uncommitted changes; otherwise it rebuilds them. It checks their checksums, bundled files, and the native binary's version, then tags the commit, uploads the four archives with SHA256SUMS, and verifies the published files. Set TALLY_RELEASE_NOTES_FILE to replace the notes generated from the changelog.

Publish the container image

After docker login quay.io, publish quay.io/godellabs-ai/godel-tally for linux/amd64 and linux/arm64:

Terminal
make push-image

The target cross-compiles tallyd on the host, as for release archives, and packages it into each architecture's scratch image, so no Rust code is compiled under emulation. It verifies static linking and runs each image's version and embedded-UI checks before pushing, so Docker must be able to run both target architectures. The image retains a CA bundle for outbound HTTPS; TLS setup and health checks run inside the Tally binary. It pushes the <version>-amd64 and <version>-arm64 tags, then the combined <version> tag, and checks that both platforms are listed. The version comes from Cargo.toml and must match the default image tag in docker-compose.yml. Set TALLY_IMAGE_PREFIX to publish to another registry. A new Quay repository is private; make it public so deployments can pull without signing in.

Esc
  • Welcome to TallyGet started · Install Gödel Tally and discover your organization's AI inventory.
  • Install TallyGet started · Choose an installation method, install the Tally binary with one command, choose databases, and configure HTTPS.
  • Install with DockerGet started · Run Tally, PostgreSQL, and ClickHouse with Docker Compose and the published image; no Tally binary needed.
  • Install with Apple containerGet started · Run the same Tally images with Apple container on an Apple silicon Mac.
  • Connect your sourcesUse Tally · Configure read-only discovery sources and understand their evidence.
  • Inventory & findingsUse Tally · Explore AI activity, review evidence, and record governance decisions.
  • Accounts & emailUse Tally · Manage invitations, passwords, roles, and email delivery in Gödel Tally.
  • Terminal overviewTerminal · Tally's two terminal tools: the command line (CLI) and the interactive console (TUI), and which to use.
  • Command line (CLI)Terminal · Sign in once, look around, manage connectors and script Tally: readable output in a terminal, JSON when piped, with exit codes.
  • Terminal console (TUI)Terminal · The web console in a terminal: sections, keys and mouse, connecting a source, and light and dark themes.
  • Configuration referenceOperate · Find Tally's saved settings, installation paths, ports, and environment reference.
  • Services & maintenanceOperate · Start, stop, update, back up, and uninstall Tally.
  • Privacy & dataOperate · Understand retained metadata, storage, retention, and data deletion.
  • Upgrade to Gödel GateOperate · Review the Docker-based Gate upgrade, transferred data, and cutover process.
  • ArchitectureBuild · How the Tally binary, connector worker, web console, and databases fit together.
  • DevelopmentBuild · Run Rust and Next.js with live reload and build release binaries.
  • API & integrationsBuild · Find Tally's generated API contract, authentication boundary, and connector fixtures.