2015-11-23 12:12:22 +01:00
# ethcore
2016-02-01 00:34:04 +01:00
2016-02-18 20:59:28 +01:00
[![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Join the chat at https://gitter.im/trogdoro/xiki][gitter-image]][gitter-url] [![GPLv3][license-image]][license-url]
2016-02-01 00:34:04 +01:00
2016-02-08 00:52:21 +01:00
[travis-image]: https://travis-ci.org/ethcore/parity.svg?branch=master
2016-02-08 00:48:55 +01:00
[travis-url]: https://travis-ci.org/ethcore/parity
2016-02-08 14:18:48 +01:00
[coveralls-image]: https://coveralls.io/repos/github/ethcore/parity/badge.svg?branch=master
2016-02-08 14:19:29 +01:00
[coveralls-url]: https://coveralls.io/github/ethcore/parity?branch=master
2016-02-05 13:48:53 +01:00
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
[gitter-url]: https://gitter.im/ethcore/parity?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge
2016-02-18 20:59:28 +01:00
[license-image]: https://img.shields.io/badge/license-GPL%20v3-green.svg
[license-url]: http://www.gnu.org/licenses/gpl-3.0.en.html
2016-02-01 01:08:23 +01:00
2016-02-08 09:46:27 +01:00
[Documentation ](http://ethcore.github.io/parity/ethcore/index.html )
2016-02-01 01:08:23 +01:00
### Building from source
2016-02-08 00:07:09 +01:00
##### Ubuntu 14.04, 15.04, 15.10
2016-02-01 01:08:23 +01:00
```bash
# install rocksdb
2016-02-08 00:07:09 +01:00
add-apt-repository ppa:ethcore/ethcore
2016-02-01 01:08:23 +01:00
apt-get update
2016-02-15 13:49:44 +01:00
apt-get install -y --force-yes librocksdb-dev
2016-02-01 01:08:23 +01:00
# install multirust
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
2016-02-19 13:21:52 +01:00
# install beta
multirust update beta
2016-02-02 23:43:29 +01:00
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
2016-02-19 13:21:52 +01:00
# parity should be build with rust beta
multirust override beta
# build in release
2016-02-02 23:43:29 +01:00
cargo build --release
```
2016-02-01 01:08:23 +01:00
2016-02-08 00:07:09 +01:00
##### Other Linux
2016-02-02 23:43:29 +01:00
```bash
# install rocksdb
git clone --tag v4.1 --depth=1 https://github.com/facebook/rocksdb.git
cd rocksdb
make shared_lib
sudo cp -a librocksdb.so* /usr/lib
sudo ldconfig
cd ..
2016-02-19 11:57:59 +01:00
# install rust beta
2016-02-02 23:43:29 +01:00
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sudo sh -s -- --yes
2016-02-19 13:55:00 +01:00
# install beta
multirust update beta
2016-02-01 01:08:23 +01:00
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
2016-02-19 13:21:52 +01:00
# parity should be build with rust beta
2016-02-19 13:55:00 +01:00
multirust override beta
2016-02-19 13:21:52 +01:00
# build in release
2016-02-01 01:08:23 +01:00
cargo build --release
```
2016-02-02 23:43:29 +01:00
##### OSX with Homebrew
2016-02-01 01:08:23 +01:00
```bash
2016-02-01 11:10:36 +01:00
# install rocksdb && multirust
2016-02-01 01:08:23 +01:00
brew update
brew install rocksdb
2016-02-01 11:10:36 +01:00
brew install multirust
2016-02-01 01:08:23 +01:00
2016-02-19 13:21:52 +01:00
# install beta
multirust update beta
2016-02-01 01:08:23 +01:00
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
2016-02-19 13:21:52 +01:00
# use rust beta for building parity
multirust override beta
2016-02-01 01:08:23 +01:00
cargo build --release
```
2016-02-08 13:34:01 +01:00