From 06abdc858e338a734f179925a36bb8758a2a6131 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 19 Aug 2014 16:47:23 +1000 Subject: [PATCH] Add basic build instructions --- README | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/README b/README index bab096da..c9ef4781 100644 --- a/README +++ b/README @@ -5,11 +5,13 @@ bitcoin mining pool, proxy, passthrough, library and database interface in c for Linux. +--- LICENSE: GNU Public license V3. See included COPYING for details. +--- DESIGN: Architecture: @@ -60,3 +62,47 @@ slow communicating clients from delaying low latency ones. - Stratum messaging system to running clients. - Accurate pool and per client statistics. - Multiple named instances can be run concurrently on the same machine. + + +--- +BUILDING: + +Building ckpool standalone without ckdb has no dependencies outside of the +basic build tools on any linux installation. + +sudo apt-get install build-essential +./configure --without-ckdb +make + + +Building with ckdb requires installation of the postgresql development library. + +sudo apt-get install build-essential libpq-dev +./configure +make + + +Building from git also requires autoconf and automake + +sudo apt-get install build-essential libpq-dev autoconf automake +./autogen.sh +./configure +make + + +Binaries will be built in the src/ subdirectory. + + +Installation is NOT required and ckpool can be run directly from the directory +it's built in but it can be installed with: +sudo make install + + +It is anticipated that pool operators wishing to set up a full database based +installation of ckpool+ckdb will be familiar with setting up postgresql and +associated permissions to the directories where the various processes will +communicate with each other and a web server so these will not be documented. + + +--- +RUNNING: