Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Centurion committed Jan 14, 2018
1 parent 15e9eb9 commit e0f4bc8
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions doc/README.md
Expand Up @@ -89,22 +89,21 @@ cd build
make
```

SUMMARY STEP BY STEP
## SUMMARY STEP BY STEP

****
**** Packet to install
****
### Packet to install

```
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev build-essential libtool
autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
git libboost-all-dev libminiupnpc-dev
```

****
**** Optionally crate swap file for compile
****
### Optionally create a swap file for compile

```
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
Expand All @@ -115,27 +114,26 @@ git clone https://github.com/centurioncoin/centurion.git
cd centurion/src/
make -f makefile.unix
```

****
**** Build local LevelDB
****
### Build local LevelDB

```
cd src/leveldb
cd leveldb/
make libleveldb.a libmemenv.a
cd ../..
```

****
**** Build Centurion
****
**** from the centurion folder downloaded from github
### Build Centurion

From the centurion folder downloaded from github:

```
mkdir build
cd build
cmake .. -DBUILD_GUI=OFF -DBUILD_TESTS=OFF
make
```

****
**** Binaries are placed in same dir (build)
****
Binaries are placed in same dir (build)

0 comments on commit e0f4bc8

Please sign in to comment.