Install LTO Network full node plus supporting tools on Apple macOS Mojave.
The LTO full node is comprised of a set of Docker containers. For development, use docker compose as orchestration tool.
Docker.dmgto open the installer, then drag Moby the whale to the Applications folder.
Docker.appin the Applications folder to start Docker.
Docker Desktop includes docker compose, so it's not needed to install that separately.
$ curl "https://raw.githubusercontent.com/legalthings/lto-deepdive/master/docker/dev/docker-compose.yml" -o docker-compose.yml
$ docker-compose up
PHP 7 is pre-installed on macOS Mojave. Earlier versions of macOS need to update PHP using
Verify that you have a correct version of PHP by running
php -vin the terminal.
$ pecl install mongodb
$ pecl install yaml
$ curl "https://github.com/legalthings/livecontracts-tester/raw/master/lctest.phar" -o lctest.phar
$ php lctest.phar --version