From 10380c0ce0cdafded6f71404c51c5f96db09ec5c Mon Sep 17 00:00:00 2001
From: windsok <8359865+windsok@users.noreply.github.com>
Date: Fri, 17 Nov 2017 15:18:45 +1100
Subject: [PATCH] Update build.md (#284)
* Add required minimum version for Rust (Build fails on Ubuntu 16.04 LTS with 1.17.0, but works fine with a manual install of 1.21.0, so I am assuming that 1.21.0 is the minimum)
* Make it clearer that grin.toml needs to be copied into the server directory
---
doc/build.md | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/build.md b/doc/build.md
index 2bfbe297..47cbb27e 100644
--- a/doc/build.md
+++ b/doc/build.md
@@ -18,7 +18,7 @@ In order to compile and run Grin on your machine, you should have installed:
* Git - to clone the repository
* cmake - 3.2 or greater should be installed and on your $PATH. Used by the build to compile the mining plugins found in the included [Cuckoo Miner](https://github.com/mimblewimble/cuckoo-miner)
-* Rust - via [Rustup](https://www.rustup.rs/) - Can be installed via your package manager or manually via the following commands:
+* Rust - 1.21.0 or greater via [Rustup](https://www.rustup.rs/) - Can be installed via your package manager or manually via the following commands:
```
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
@@ -98,8 +98,6 @@ The following are minimal instructions to get a testnet1 node up and running.
After following the instructions above to build a testnet executable and ensuring it's on your system path, create two directories wherever you prefer. Call one 'wallet' and one 'server'.
-Copy the 'grin.toml' file from the project root into the 'server' directory.
-
In the 'wallet' directory (preferably in a separate terminal window), run the following command to create a wallet seed:
```
@@ -112,8 +110,13 @@ Then, to run a publicly listening wallet receiver, run the following command:
grin wallet -p password -e receive
```
-Next, in the 'server' directory in another terminal window, start the server node:
+Next, in the 'server' directory in another terminal window, copy the grin.toml file from the project root:
+```
+cp /path/to/project/root/grin.toml .
+```
+
+Then, to start the server node:
```
grin server --mine run
```