Installation and configuration
In EOS.IO there are three main progreams that weare going to use througout this tutorials:
nodeosis n EOS node daemonkeosdis a wallet keys daemoncleosis a cli - command line interface tool
Option 1. Build using build script
So according to the README on https://github.com/EOSIO/eos, all I need to do to run local testnet is:
``` git clone https://github.com/EOSIO/eos --recursive cd eos git submodule update --init --recursive ./eosio_build.shOptionally install system wide
cd build
sudo make install
It can take few attempts to install all dependencies and build everything (i.e. you might have to run `./eosio_build.sh` before everything is built)
Unfortunately, sometimes build can fail. So what I advise is just open the `./eosio_build.sh` file and follow it step by step to find the issue, which in my case was mongo-cxx-driver and WebAssembly. This is what I had to do to make the script work:
git clone https://github.com/mongodb/mongo-cxx-driver.git --branch releases/stable --depth 1
cd mongo-cxx-driver/build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
make EP_mnmlstc_core
make
make install
git clone https://github.com/WebAssembly/binaryen
cd binaryen
git checkout tags/1.37.14
cmake . && make
mkdir /usr/local/binaryen
cp -r ./bin /usr/local/binaryen
#### Option 2. Build using Docker
First we need to create volumes for `nodeos` and `keosd` as they are defined as externals to docker containers.
Create nodeos volume
docker volume create --name=nodeos-data-volume
Create keosd volume
docker volume create --name=keosd-data-volume
build and run containers
docker-compose up
> #### This concludes [ Part 2 ] Install from sources of EOS Quick-Start series
> more from this series:
>
> * [[ Part 1 ] Introduction](https://steemit.com/cryptocurrency/@antt001/eos-quick-start-part-1-introduction)
> * [[ Part 3 ] Run Local Testnet](https://anttdev.com/2018/04/eos-quickstart-eos-quickstart-local-testnet/)
#### Disclaimer:
This article is not a financial advice and not an endorsement to use EOS or invest in EOS platform.