|
|
# Preparing testing environment
|
|
|
1. Create directory in which you will store your testing environment, for simplicity I'll use `/tmp`
|
|
|
2. Enter your testing environment dir
|
|
|
|
|
|
## Preparing `hived` node
|
|
|
1. Clone latest sources of `hived` from https://gitlab.syncad.com/hive/hive
|
|
|
```bash
|
|
|
$ git clone git@gitlab.syncad.com:hive/hive.git
|
|
|
```
|
|
|
|
|
|
2. Build latest production `hived`, latest tag is `v1.24.7`
|
|
|
```bash
|
|
|
$ cd hive
|
|
|
$ git checkout v1.24.7
|
|
|
$ git submodule update --init --recursive
|
|
|
$ mkdir build
|
|
|
$ cd build
|
|
|
$ cmake -DCMAKE_BUILD_TYPE=Release -DLOW_MEMORY_NODE=OFF -DBUILD_HIVE_TESTNET=OFF -DHIVE_STATIC_BUILD=ON ..
|
|
|
$ make -j4
|
|
|
```
|
|
|
|
|
|
3. Prepare directory to store blockchain data
|
|
|
```bash
|
|
|
$ cd /tmp #note this should be your testing environment directory
|
|
|
$ mkdir ref-data
|
|
|
$ cd ref-data
|
|
|
|
|
|
|
|
|
## Preparing `hivemind`
|
|
|
|
|
|
# Running tavern tests
|
|
|
|
... | ... | |