Merge pull request #1287 from rphmeier/update_readme
clarify build instructions
This commit is contained in:
commit
6b852a0635
26
README.md
26
README.md
@ -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:
|
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:
|
- Linux and OSX:
|
||||||
```bash
|
```bash
|
||||||
$ curl https://sh.rustup.rs -sSf | sh
|
$ curl https://sh.rustup.rs -sSf | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
- Windows
|
- 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
|
||||||
|
```
|
||||||
|
|
||||||
```
|
Once you have rustup, download and build parity:
|
||||||
rustup default stable-x86_64-pc-windows-msvc
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Then, download and build Parity:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# download Parity code
|
# download Parity code
|
||||||
@ -67,12 +66,11 @@ $ cd parity
|
|||||||
$ cargo build --release
|
$ cargo build --release
|
||||||
```
|
```
|
||||||
|
|
||||||
This will produce an executable in the `target/release` subdirectory.
|
This will produce an executable in the `./target/release` subdirectory.
|
||||||
Either run `cd target/release`, or copy `target/release/parity` to another location.
|
|
||||||
|
|
||||||
To get started, just run
|
To get started, just run
|
||||||
```bash
|
```bash
|
||||||
$ parity
|
$ ./target/release/parity
|
||||||
```
|
```
|
||||||
|
|
||||||
and parity will begin syncing the Ethereum blockchain.
|
and parity will begin syncing the Ethereum blockchain.
|
Loading…
Reference in New Issue
Block a user