From 834cd766bec4eaa125925833da15ff64e06e02c3 Mon Sep 17 00:00:00 2001
From: Dmitrii Zolotarev <dvzolotarev@gmail.com>
Date: Sat, 6 Jul 2019 10:58:27 +0700
Subject: [PATCH] Add build instructions to README

Signed-off-by: Dmitrii Zolotarev <dvzolotarev@gmail.com>
---
 README.md | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/README.md b/README.md
index 242edcd52..e937ad75f 100644
--- a/README.md
+++ b/README.md
@@ -4,3 +4,22 @@ Kelvin Blockchain node
 [![Build Status](https://travis-ci.com/cellframe/kelvin-node.svg?branch=master)](https://travis-ci.com/cellframe/kelvin-node)
 
 [Kelvin node manual](https://github.com/cellframe/kelvin-node/wiki/Kelvin-Node)
+
+## Build
+
+The project uses CMake. To generate a Makefile run in the project root directory `git submodule init && git submodule update --remote && cmake .`.
+Or if don't clone the project yet, run `git clone --recursive <repo>` to clone it with all submodules. Then build the project as a regular CMake project.
+
+### Prerequsites
+
+To successfully complete of the build, you must have folgende prerequisites installed (packages are named as in Debian GNU/Linux 10 "buster", please found the corresponding packages for your distribution):
+
+* libjson-c-dev
+
+* libmemcached-dev (for libdap-server-core submodule)
+
+* libev-dev (for libdap-server-core submodule)
+
+* libmagic-dev (for libdap-server submodule)
+
+* libcurl4-openssl-dev | libcurl4-nss-dev | libcurl4-gnutls-dev (for libdap-server submodule)
-- 
GitLab