Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.72 KB

prerequisites-macos.md

File metadata and controls

65 lines (45 loc) · 1.72 KB

Lisk Explorer installation for MacOS

Prerequisites

These programs and resources are required to install and run Lisk Explorer.

  • Node.js v8.11.2 or higher (https://nodejs.org/) -- Node.js serves as the underlying engine for code execution.

    brew update
    brew doctor
    brew install node
  • Install wget -- used for downloading files

    brew install wget
  • Git (https://github.com/git/git) -- Used for cloning and updating Lisk Service

    brew install git
  • Tool chain components -- Used for compiling dependencies

    brew install automake autoconf libtool
  • Redis (http://redis.io) -- Redis is used for caching parsed exchange data.

     brew install redis

    Note: you can change your port at this step if you want to have more Redis instances in the future. Remember to adjust the environment variable REDIS_PORT accordingly.

  • Freegeoip (https://github.com/fiorix/freegeoip) -- Freegeoip is used by the Network Monitor for IP address geo-location.

    wget https://github.com/fiorix/freegeoip/releases/download/v3.4.1/freegeoip-3.4.1-darwin-amd64.tar.gz
    tar -zxf freegeoip-3.4.1-darwin-amd64.tar.gz
    ln -s freegeoip-3.4.1-darwin-amd64 freegeoip
    nohup ./freegeoip/freegeoip > ./freegeoip/freegeoip.log 2>&1 &
  • Update npm to the version 6.x

    npm install -g npm@6
  • PM2 (https://github.com/Unitech/pm2) -- PM2 manages the node process for Lisk Service and handles log rotation (Highly Recommended)

    npm install -g pm2
  • Bower (https://bower.io/) -- Bower is used to look after frontend libraries.

    sudo npm install -g bower