From bee19e4c78f983be5ec0b2f5a7cf20c9225887e5 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 30 Nov 2020 16:40:07 +0100 Subject: [PATCH] Document building the project --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 862dfbf..d5a0505 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,19 @@ This is an attempt to implement an API to create, update or delete DNS records on a BIND9 DNS server. +## Building + +To compile the code, you first need to [install Rust](https://rustup.rs/). Then +you can run + +``` +cargo build --release +``` + +in the project root. The server and client binary will be located in +`./target/release/bind9-api` and `./target/release/bind9-api-client` +respectively. + ## Server The server will wait for incoming requests and uses the `nsupdate` command to