Skip to content

Components

andor0 edited this page Mar 5, 2020 · 2 revisions

alt text

Polkahub components description:

  1. CLI - console tool interacts with API

  2. API - REST API receives and handles commands from CLI

  3. Git - Git server stores of source code of projects

  4. CI - CI build projects, manages Deployer and Cloudflare Manager

  5. Docker - Docker server

  6. Registry - Docker registry

  7. Cloudflare manager - microservice creates DNS records in Cloudflare

  8. Cloudflare API - https://api.cloudflare.com/

  9. Mailgun sender - microservice sends emails via Mailgun API

  10. Mailgun API - https://api.mailgun.net/

  11. Deployer - microservice sends commands to deploy projects to Kubernetes API

  12. Kubernetes API

  13. Node - a deployed node of a project

Interaction of Polkahub components for different cases of using described below.

Typical workflow assumes that any user (Linux/MacOS) can install Polkahub CLI via bash script or cargo (for Rust developers). Windows users can use pre-built docker image to run CLI.

You can deploy your chain using create command and push your project repository to Polkahub Registry or deploy any other node existing at registry. For the latter, you will need to find any pre-built nodes on Polkahub registry and use install command to deploy one of them.