localnet

package
v0.0.0-...-c97221a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

Local development in docker environment

  1. Start localnet docker stack
go run mage.go -v LocalnetUp
  1. Build myst binary for Linux
GOOS=linux ./bin/build
  1. Run provider

Connect to container

docker exec -it localnet_myst-provider_1 /bin/bash

Run provider

./localnet/provider.sh
  1. Run consumer

Connect to container

docker exec -it localnet_myst-consumer_1 /bin/bash

Run consumer daemon

./localnet/consumer.sh

Run consumer CLI

./localnet/cli.sh
  1. Stop localnet docker stack
go run mage.go -v LocalnetDown

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalnetDown

func LocalnetDown() error

LocalnetDown stops local environment

func LocalnetUp

func LocalnetUp() error

LocalnetUp starts local environment

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL