From 5a0e9472d28961b2a8d598165e05f4221171c1a1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 May 2026 11:29:38 +0200 Subject: README.md: Add build instructions --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index deeebb7..219d2ef 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,41 @@ # finserv Local server for financial data. + +## Build instructions + +Only builds on Linux are supported. The Git [1] Meson build system [2] has to be +installed. + +The source is retrieved with `git`. + +``` +git clone https://cgit.xengineering.eu/finserv +cd finserv +git submodule init +git submodule update +``` + +The build folder needs to be inside the source, needs to be named `build` and +is set up with `meson setup`. + +``` +meson setup build +``` + +A build is executed with `meson compile`. Missing software tools are reported +by Meson and must be installed for the build to succeed. + +``` +meson compile -C build +``` + +After a successful build the server executable can be started. The localhost +URL to access it is printed to the console. + +``` +./build/finserv-linux-amd64 +``` + +[1]: https://git-scm.com/ +[2]: https://mesonbuild.com/ -- cgit v1.3