sandbox

The Streambed CLI includes a sandbox command that can be used to stand up a local development environment.

Prerequisites

Docker must be running. You can verify this with docker ps.

sandbox

Description

Generates a Docker Compose file to start services required for Streambed Applications.

Usage

To start the sandbox, use the following command:

sandbox | docker-compose -p xdp-sandbox -f - up

To stop the sandbox, press CTRL-C or run the following command:

sandbox | docker-compose -p xdp-sandbox -f - down

To remove all sandbox containers, run the following command:

sandbox | docker-compose -p xdp-sandbox -f - rm -f

Arguments

Name Description
–feature Enable a feature. Available: soilstate
–help Show the help screen
–port-range Specify the port range to expose services on. By default, will search for 10 consecutive ports starting with 8080-8089

Features

soilstate

Use the --feature soilstate flag to enable the Soilstate feature.

When enabled, a web interface will be available by default on port 8081. The system will generate random sensor data that will be indicated on the UI in real-time.