Ubuntu Linux

Install LTO Network full node plus supporting tools on Ubuntu Linux 18.04+.

LTO Network full node

The LTO full node is comprised of a set of Docker containers. For development, use docker compose as orchestration tool.

Docker

$ apt install docker

Use pip (python package manager) to install docker compose.

$ pip install docker-compose

LTO full node

$ curl "https://raw.githubusercontent.com/legalthings/lto-deepdive/master/docker/dev/docker-compose.yml" -o docker-compose.yml
$ docker-compose up

Live contracts tester

The live contract tester (lctest) is build on Behat and runs on PHP. It requires PHP 7+ with the mongodb and yaml PECL extension.

PHP

$ apt install php-cli php-mongodb php-yaml php-curl php-libsodium

lctest.phar

$ curl "https://github.com/legalthings/livecontracts-tester/raw/master/lctest.phar" -o lctest.phar
$ php lctest.phar --version