docs: Fixes #204. Update Readme. Add command to switch to Rust stable. Append binaries to installation command (#205)

* docs: Fixes #204

* Add command to switch to a stable version of Rust before installing Polkadot PoC-1 since error occurs when trying to install using Rust Nightly, which some users may have configured as their active toolchain
* Append ` polkadot subkey` to the command that installs the latest version of Polkadot PoC-1 to overcome error

* Update README.md
This commit is contained in:
Luke Schoen
2018-06-07 09:29:41 +02:00
committed by Gav Wood
parent b94cf078af
commit 4307f456ad
+3 -2
View File
@@ -5,11 +5,12 @@ Implementation of a https://polkadot.io node in Rust.
## To play
If you'd like to play with Polkadot, you'll need to install a client like this
one. First, get Rust (1.26.1 stable) and the support software if you don't already have it:
one. First, get Rust (1.26.1 or later) and the support software if you don't already have it, and ensure you change the active toolchain to the stable version instead of the nightly version:
```
curl https://sh.rustup.rs -sSf | sh
sudo apt install make clang
rustup default stable
```
Then, install Polkadot PoC-1:
@@ -19,7 +20,7 @@ cargo install --git https://github.com/paritytech/polkadot.git --branch v0.1
```
You'll now have a `polkadot` binary installed to your `PATH`. You can drop the
`--branch v0.1` to get the very latest version of Polkadot, but these
`--branch v0.1` or run `cargo install --git https://github.com/paritytech/polkadot.git polkadot subkey` to get the very latest version of Polkadot, but these
instructions might not work in that case.
### Development