Install Kalima Admin
weight: 230 linkTitle: “Install Admin”
Introduction
The installation of Kalima Admin with docker is possible to facilitate the process.
The docker image is available on the following registry: kalimasystems
To do this, we just need to docker, see: docs.docker.com/get-docker/
It is then enough to make a “pull” of the image with the following command:
docker pull kalimasystems/kalima-admin:latest
To use Kalima Admin, we also need a REST API in order to have the data on this interface, for that, we will have to install this REST API first.
We must then pull the image of this REST API: docker pull kalimasystems/kalima-rest-api:latest
Lancement du conteneur pour l’api REST
We only detail here the docker commands to launch the REST api, for more explanation or if you have any problem, you can go here: https://doc.kalimadb.com/Tutorials/Rest/restAPI.htm
*docker volume create *
docker run –publish 9090:9090 –detach –name kalima-rest-api –mount source=,target=/home/rcs/jit –env PORT=9090 –env SERIAL_ID=\ –env PRIVACHAIN=\ kalimasystems/kalima-rest-api:latest
Launching the container
Once we have the image and the volume, we just must launch the container with the command:
docker run –publish 8080:8080 –detach –name kalima-admin –env PORT=8080 –env REST_API_URL=http://localhost:7070 –env MULTISIG=false kalimasystems/kalima-admin:latest
publish: transfers the host port to the container port
detach: allows to launch the container in the background
name: container name
env : environment variables
* PORT: port used in the container
* REST_API_URL: url to the REST API with which kalima admin will communicate
* MULTISIG: true or false, to know if we activate the multi-sig authentication
- finally, we put the name of the image
Once the run command is launched, just go to (change the port if necessary) : localhost:8080/kalima-admin.