openethereum/README.md

92 lines
2.3 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] [![Join the chat at https://gitter.im/trogdoro/xiki][gitter-image]][gitter-url] [![GPLv3][license-image]][license-url]
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
[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
[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
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
# 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
# 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 ..
# 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
# install rust beta
sudo multirust update beta
2016-02-01 01:08:23 +01:00
# download and build parity
git clone https://github.com/ethcore/parity
cd parity
# parity should be build with rust beta
sudo multirust override beta
# 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
# 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 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
# 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