From 1e6815877e45aaa5f2e4c75fc3561153f7ea5eba Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Mon, 1 Feb 2016 01:08:23 +0100 Subject: [PATCH 1/5] Building from source guide --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index 6537c0cda..786283ac0 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,51 @@ [travis-url]: https://travis-ci.com/ethcore/parity [coveralls-image]: https://coveralls.io/repos/github/ethcore/parity/badge.svg?branch=master&t=Fk0OuQ [coveralls-url]: https://coveralls.io/r/ethcore/parity?branch=master + + +### Building from source + +##### Ubuntu + +```bash +# install rocksdb +add-apt-repository "deb http://ppa.launchpad.net/giskou/librocksdb/ubuntu trusty main" +apt-get update +apt-get install -y --force-yes librocksdb + +# install multirust +curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes + +# install nightly and make it default +multirust update nightly && multirust default nightly + +# export rust LIBRARY_PATH +LIBRARY_PATH /usr/local/lib + +# download and build parity +git clone https://github.com/ethcore/parity +cd parity +cargo build --release +``` + +##### OSX + +```bash +# install rocksdb +brew update +brew install rocksdb + +# install multirust +curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes + +# install nightly and make it default +multirust update nightly && multirust default nightly + +# export rust LIBRARY_PATH +LIBRARY_PATH /usr/local/lib + +# download and build parity +git clone https://github.com/ethcore/parity +cd parity +cargo build --release +``` From 86459bc5aa4f05a38e491632bb659c6258692a82 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Mon, 1 Feb 2016 10:43:27 +0100 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 786283ac0..4d1adff0b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ### Building from source -##### Ubuntu +##### 14.04 Trusty ```bash # install rocksdb From bedc27c90f03e3ca422ab56d67eab852fa3a1142 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Mon, 1 Feb 2016 11:10:36 +0100 Subject: [PATCH 3/5] install multirust through homebrew on osx --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4d1adff0b..1d360c969 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,10 @@ cargo build --release ##### OSX ```bash -# install rocksdb +# install rocksdb && multirust brew update brew install rocksdb - -# install multirust -curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes +brew install multirust # install nightly and make it default multirust update nightly && multirust default nightly From 3533447f7a36a5df8642a7d7fef8cb87808b6ab0 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 1 Feb 2016 11:27:46 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d360c969..ab1aa26e7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | multirust update nightly && multirust default nightly # export rust LIBRARY_PATH -LIBRARY_PATH /usr/local/lib +export LIBRARY_PATH=/usr/local/lib # download and build parity git clone https://github.com/ethcore/parity @@ -45,7 +45,7 @@ brew install multirust multirust update nightly && multirust default nightly # export rust LIBRARY_PATH -LIBRARY_PATH /usr/local/lib +export LIBRARY_PATH=/usr/local/lib # download and build parity git clone https://github.com/ethcore/parity From 21e5399d8c035308d86b5e5f942e05aacaad7c7d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 1 Feb 2016 11:28:56 +0100 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab1aa26e7..f442338db 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ### Building from source -##### 14.04 Trusty +##### Ubuntu 14.04 and later ```bash # install rocksdb