This repository provides a demo setup for running a vantage6 server, nodes, and UI locally for testing and development.
-
Clone this repository.
-
Check or edit
config.env
to set any desired defaults (e.g., vantage6 version, Docker registry, UI port, etc.). -
Run the setup script:
# Development usage (won't stop on errors, opens browser) ENVIRONMENT=DEV ./setup.sh
or
# CI usage (stops on errors, no browser launch) ENVIRONMENT=CI ./setup.sh
If you omit
ENVIRONMENT=...
, it falls back to whatever is inconfig.env
. -
Verify containers are running:
docker ps
You should see the vantage6 server, nodes, and UI container.
-
Interact with vantage6 (e.g., run an algorithm). The vantage6 UI can be accessed at http://localhost (configurable in
config.env
). -
Stop and remove all containers:
# Use the same ENVIRONMENT mode you started with, if desired ENVIRONMENT=DEV ./shutdown.sh
This tears down the vantage6 environment and cleans up leftover files.