openethereum/README.md

73 lines
1.8 KiB
Markdown
Raw Normal View History

2015-11-23 12:12:22 +01:00
# ethcore
[![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url]
[travis-image]: https://travis-ci.com/ethcore/parity.svg?token=DMFvZu71iaTbUYx9UypX&branch=master
[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
2016-02-01 01:08:23 +01:00
### Building from source
2016-02-02 23:43:29 +01:00
##### Ubuntu 14.04
2016-02-01 01:08:23 +01:00
```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
2016-02-02 23:43:29 +01:00
multirust update nightly
multirust default nightly
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
cargo build --release
```
2016-02-01 01:08:23 +01:00
2016-02-02 23:43:29 +01:00
##### Linux
```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 ..
# install rust nightly
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sudo sh -s -- --yes
# install nightly and make it default
sudo multirust update nightly
sudo multirust default nightly
2016-02-01 01:08:23 +01:00
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
cargo build --release
```
2016-02-02 23:43:29 +01:00
##### OSX with Homebrew
2016-02-01 01:08:23 +01:00
```bash
# install rocksdb && multirust
2016-02-01 01:08:23 +01:00
brew update
brew install rocksdb
brew install multirust
2016-02-01 01:08:23 +01:00
# install nightly and make it default
multirust update nightly && multirust default nightly
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
cargo build --release
```