summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md38
1 files changed, 38 insertions, 0 deletions
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/