From b0262f01762414073edd317db81802f04e1cb22c Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sun, 5 Dec 2021 06:15:09 +0800 Subject: [PATCH 1/2] MONERO_BRANCH=master added to Readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 10e9b9e..d8a6735 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,8 @@ Go to your browser: http://127.0.0.1:8081 ## Compiling and running with Docker -The explorer can also be compiled using `docker build` as follows: +The explorer can also be compiled using `docker build` as described below. By default it compiles +against latest release (`release-v0.17`) branch of monero: ``` # build using all CPU cores @@ -157,6 +158,9 @@ docker build --no-cache -t xmrblocks . # alternatively, specify number of cores to use (e.g. 2) docker build --no-cache --build-arg NPROC=2 -t xmrblocks . + +# to build against development branch of monero (i.e. master branch) +docker build --no-cache --build-arg NPROC=3 -build-arg MONERO_BRANCH=master -t xmrblocks . ``` - The build needs 3 GB space. From a672f3c50704d766321ea8fbaf41c2403397457d Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sun, 5 Dec 2021 07:06:37 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d8a6735..941e96f 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ docker run -it -d -v :/home/monero/.bitmo Example output: ``` -docker run --rm -it -v /mnt/w7/bitmonero:/home/monero/.bitmonero xmrblocks +docker run --rm -it -v /mnt/w7/bitmonero:/home/monero/.bitmonero -p 8081:8081 xmrblocks Staring in non-ssl mode (2020-04-20 16:20:00) [INFO ] Crow/0.1 server is running at 0.0.0.0:8081 using 1 threads ```