diff --git a/README.md b/README.md
index 008834c..175a56d 100644
--- a/README.md
+++ b/README.md
@@ -15,12 +15,14 @@ Dependencies:
* go-1.6
* Everything required to build bitmonero
+#### Mac OS X
+
Install required packages:
+ brew update && brew install go
+ export GOPATH=~/go
go get github.com/yvasiyarov/gorelic
-#### Mac OS X
-
Download and compile [Monero](https://github.com/monero-project/bitmonero) daemon.
Now clone stratum repo and compile it:
@@ -29,15 +31,25 @@ Now clone stratum repo and compile it:
cmake .
make
-Notice that for share validation stratum requires bitmonero source tree where .a libs already compiled. By default stratum will use ../bitmonero
directory. You can override this behaviour by passing MONERO_DIR
env variable:
+Notice that for share validation stratum requires bitmonero source tree where .a libs already compiled. By default stratum will use ../bitmonero
directory. You can override this behavior by passing MONERO_DIR
env variable:
MONERO_DIR=/path/to/bitmonero cmake .
make
+Build stratum:
+
+ go build -o pool main.go
+
#### Linux
I would recommend you to use Ubuntu 16.04 LTS.
+Install required packages:
+
+ sudo apt-get install golang
+ export GOPATH=~/go
+ go get github.com/yvasiyarov/gorelic
+
In order to successfully link with bitmonero libs, recompile bitmonero with:
CXXFLAGS="-fPIC" CFLAGS="-fPIC" make release
@@ -49,14 +61,12 @@ Build CGO extensions:
Build stratum:
- GOPATH=/path/to/go go build -o pool main.go
+ go build -o pool main.go
-Run:
+#### Running Stratum
./pool config.json
-More info on *GOPATH* you can find in a [wiki](https://github.com/golang/go/wiki/GOPATH).
-
### Configuration
Configuration is self-describing, just copy *config.example.json* to *config.json* and run stratum with path to config file as 1st argument. There is default XMR address of monero core team in config example and open monero rpc node from [moneroclub.com](https://www.moneroclub.com/node). Sure, you must run your own full node.