Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 1.28 KB

README.md

File metadata and controls

62 lines (50 loc) · 1.28 KB

Requirements

  1. Helm a. Helm diff plugin b. Helmfile
  2. Minikube or Rancher-desktop

How-to: Deploy

Magic version (minikube or rancher-desktop)

The minikube/rancher-desktop,helm and kubectl binaries should be in your path

Edit Makefile and set desired option. Example:

KUBERNETES_CONTEXT = minikube
CHAIN_NAMESPACE = rococo

Run:

make all

make all will perform the following operation:

  1. Start minikube or rancher-desktop depending on KUBERNETES_CONTEXT variable.
make kube
  1. Build docker image inside minikube or rancher-desktop cluster.
make build
  1. Install app
make install

Normal version

see testnet-manager helm-chart.

How-to: Access

Alice RPC endpoint

Run:

make rpc

This command will open browser and port-forward the 9944

Note: you should have port 9944 free in your host before running make rpc

Testnet Manager web endpoint

Run:

make web

This command will open browser and port-forward the 8080 to k8s 80

How-to: Clean up

To clean that was created in these steps:

  1. Remove charts but keep the namespace: make uninstall

  2. Remove charts, their data and namespace make cleanup