Installation with Docker
The most convenient way to set up Lisk Service.
The docker image will install all required dependencies that are needed to run Lisk Service on your machine.
Prerequisites
The following dependencies are required to install and run Lisk Service with Docker.
Development tools
Install the build-essential
package alongside with several development tools.
For example, use apt
if running Ubuntu as shown in the following command below:
apt install build-essential git
Brew
Install Brew by following the most recent instruction.
If you already have Brew installed, ensure it is working and is the latest version.
brew update
brew doctor
Xcode
Install Xcode essentials coming from Apple.
xcode-select --install
Docker
Please refer to docker installation for ubuntu.
To install Docker Compose, please refer to install docker compose.
To configure Docker so it can be run without sudo rights, follow: linux post install.
|
Please refer to Docker installation for Mac.
Please note that Docker for Mac already includes Docker Compose.
Install make
using XCode.
Installation
Clone the lisk-service GitHub repository and then navigate into the project folder.
git clone https://github.com/LiskHQ/lisk-service.git
cd lisk-service
Lisk Service is now ready to use on your machine.
You may now directly start it with:
lisk-service
root foldermake up
The command In case you wish to build from your local version of Lisk Service, firstly you need to run How to build Lisk Service from local files
|
This will start Lisk Service with the default configuration, which will connect to a Lisk Core Mainnet node.
In case a different node or network shall be used, configure Lisk Service accordingly.
You can stop Lisk Service again with the following command:
make down
More commands about how to manage Lisk Service are described on the Docker commands page.
Check the Usage section for examples of how to use and interact with Lisk Service. |