testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console/README.md

1.2 KiB

laconic-console

Instructions for running laconic registry CLI and console

Prerequisites

  • laconicd RPC and GQL endpoints

Setup

  • Clone the stack repo:

    laconic-so fetch-stack git.vdb.to/cerc-io/testnet-laconicd-stack
    
  • Clone required repositories:

    laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console setup-repositories
    
  • Build the container images:

    laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console build-containers
    

    This should create the following docker images locally:

    • cerc/laconic2-registry-cli

Create a deployment

  • Create a spec file for the deployment:

    laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console deploy init --output laconic-console-spec.yml
    
  • Create a deployment from the spec file:

    laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console deploy create --spec-file  laconic-console-spec.yml --deployment-dir laconic-console-deployment
    

Configuration

  • Inside the deployment directory, open config.env file and set following env variables:

    # TODO