Merge pull request #1287 from rphmeier/update_readme

clarify build instructions
This commit is contained in:
Robert Habermeier 2016-06-15 12:48:54 +02:00 committed by GitHub
commit 6b852a0635

View File

@ -43,20 +43,19 @@ Parity is fully compatible with Stable Rust.
We recommend installing Rust through [rustup](https://www.rustup.rs/). If you don't already have rustup, you can install it like this:
- Linux and OSX:
```bash
$ curl https://sh.rustup.rs -sSf | sh
```
```bash
$ curl https://sh.rustup.rs -sSf | sh
```
- Windows
Make sure you have Visual Studio 2015 with C++ support installed, download and run [rustup](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) and use the following command to setup msvc toolchain:
Make sure you have Visual Studio 2015 with C++ support installed. Next, download and run the rustup installer from
https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe and use the following command to install and set up the msvc toolchain:
```
$ rustup default stable-x86_64-pc-windows-msvc
```
```
rustup default stable-x86_64-pc-windows-msvc
```
Then, download and build Parity:
Once you have rustup, download and build parity:
```bash
# download Parity code
@ -67,12 +66,11 @@ $ cd parity
$ cargo build --release
```
This will produce an executable in the `target/release` subdirectory.
Either run `cd target/release`, or copy `target/release/parity` to another location.
This will produce an executable in the `./target/release` subdirectory.
To get started, just run
```bash
$ parity
$ ./target/release/parity
```
and parity will begin syncing the Ethereum blockchain.
and parity will begin syncing the Ethereum blockchain.