Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonLi000 committed Mar 29, 2018
1 parent 84a09c6 commit dd2a4e6
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,40 @@ New users may want to checkout and use the stable _master_ release.
git checkout master
```

2. Install dependencies packages.
2. Install rocksdb dependencies.

* **OS X**:
* Install latest C++ compiler that supports C++ 11:
* Update XCode: run `xcode-select --install` (or install it from XCode App's settting).
* Install via [homebrew](http://brew.sh/).
* If you're first time developer in MacOS, you still need to run: `xcode-select --install` in your command line.
* run `brew tap homebrew/versions; brew install gcc48 --use-llvm` to install gcc 4.8 (or higher).
* run `brew install rocksdb`

* **Linux - Ubuntu**
* Upgrade your gcc to version at least 4.8 to get C++11 support.
* Install gflags. First, try: `sudo apt-get install libgflags-dev`
If this doesn't work and you're using Ubuntu, here's a nice tutorial:
(http://askubuntu.com/questions/312173/installing-gflags-12-04)
* Install snappy. This is usually as easy as:
`sudo apt-get install libsnappy-dev`.
* Install zlib. Try: `sudo apt-get install zlib1g-dev`.
* Install bzip2: `sudo apt-get install libbz2-dev`.
* Install lz4: `sudo apt-get install liblz4-dev`.
* Install zstandard: `sudo apt-get install libzstd-dev`.
3. Install dependencies packages.

```bash
make dep
```

3. Install dependent v8 libraries.
4. Install dependent v8 libraries.

```bash
make deploy-v8
```

4. Build the neb binary.
5. Build the neb binary.

```bash
make build
Expand Down Expand Up @@ -126,7 +147,6 @@ Neb uses [Protocol Buffer](https://github.com/google/protobuf) to load configura
network {
listen: ["0.0.0.0:8680"]
private_key: "conf/network/ed25519key"
network_id: 1
}
chain {
Expand Down

0 comments on commit dd2a4e6

Please sign in to comment.