Skip to content

Start a local instance of your private deployment

Boot a private deployment for testing and viewing the state of the blockchain and the contracts that you deploy, during the development of smart contracts and system integration.

Requirements

  • Docker installed
  • You must log in to gitlab registry before being able to pull the images. This can be done by running the command
docker login registry.gitlab.com
  • To be able to connect to the MPC nodes, you must add the line 127.0.0.1 docker to your host file.

The local instance

To start your own private deployment, you need to clone the platform-dev-runner repository.

Go to the folder you want to clone the repository into and run

git clone https://gitlab.com/secata/platform/platform-dev-runner.git

To start the local instance go into your newly cloned repo and run

docker compose up -d

You can now view the local private deployment by going to http://localhost:9432.

Components in your local private deployment

There are multiple different containers that are started, when booting the Partisia Platform. The containers are the following:

  • 4, Block Producer nodes.

  • 4, MPC nodes.

  • A Reader node.

  • The Partisia Platform Browser, that consists of 3 services

    • The frontend, that serves the UI of the blockchain.
    • The backend, that indexes the blocks and transactions that is executed.
    • The database, where it stores relations and interactions for accounts and addresses.

Partisia All Rights Reserved © 2023