hypersing-cli-docker-engine-ubuntu

Pre-requisite

  • Ubuntu System
  • Minimum 8GB RAM
  • Docker Engine for Ubuntu

Docker Engine Installation

To install the docker engine for Ubuntu follow the steps in the official documentation.

https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

Install Hypersign SSI CLI

To know latest version of hypersign-ssi cli please checkout realese here https://github.com/hypersign-protocol/hypersign-cli/releases

To install the Hypersign SSI Cli type the below command in your terminal.

wget -O hypersign-ssi.deb https://github.com/hypersign-protocol/hypersign-cli/releases/download/v0.1.6/hypersign-ssi_0.1.6.daee75f-1_amd64.deb && sudo dpkg -i hypersign-ssi.deb

Screenshot from 2023-12-02 23-04-24

Once you install it, check the version by typing

hypersign-ssi

Screenshot from 2023-12-02 23-04-42

Before you set up Hypersign SSI Cli make sure to Start your Docker Engine Deamon

Note: If your system doesn't allow for a root user, you can use the sudo su command as shown below

sudo su
systemctl start docker
systemctl enable docker
systemctl restart docker

Below is the output of the above commands image

Now, you can start hypersign cli setup by following below commands

  1. hypersign-ssi setup

    hypersign-ssi setup         
    

    image

    Type Y and press the Enter key

    You will get the below services image

    You can select any service, for now, we will select all services and press Enter Key

    image

    Proceed with the testnet for now, press the Enter key

    image

    Now select the generate option from mnemonic setup

    image

    For setting up selected services, it takes time

    image

    Store the mnemonic in some secure place, so for next time you can enter the existing mneminic. Here is the mnemonic from above

    erase grocery wreck skirt depend curious electric envelope insane damage peanut december key marriage violin actor evidence fog remind key lady opera behind viable
    

    You will get below output once selected services setup successfull

    image

  2. hypersign-ssi start

    Now, it's time to start the services

    Type

    hypersign-ssi start
    

    image

    It will spin up the container and you will get the final output below

    image

    To check all containers are running type,

    docker ps
    

    image

    You can navigate the service URL's to check it in browser

    📟 Entity Developer Dashboard : http://localhost:9001/

    image

    📟 Entity Developer Dashboard Service : http://localhost:3002/

    image

  3. hypersign-ssi stop

    To Stop the currently running container, you can use the below command

    hypersign-ssi stop
    

    image

    You can check it by typing docker ps command

    image

  4. hypersign-ssi clean

    To Clean current containers, images, and data configuration use the below command and proceed with Yes.

    hypersign-ssi clean
    

    image

    image

    Once all services and data cleaned you will get below output

    image