From 6d6e25f991f99d2e6c29b479a827b53cb3f3a430 Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 4 Aug 2023 14:46:56 +0200 Subject: [PATCH] Document building instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index a4ce46a..ab408b7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ A tool to run benchmarks for a git repo and display their results. +## Building from source + +The following tools are required: +- `cargo` and `rustc` (best installed via [rustup](https://rustup.rs/)) +- `tsc`, the [typescript](https://www.typescriptlang.org/) compiler + +For developing, the following tool is additionally required: +- `sqlx`, the [CLI of the sqlx library](https://github.com/launchbadge/sqlx/blob/main/sqlx-cli/README.md) + +Once you have installed these tools, run `cargo build --release`. +The compiled binary will be located at `target/release/tablejohn`. +It contains everything needed to run tablejohn. +No additional files are required. + ## Design notes - A tablejohn instance tracks exactly one git repository.