Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.34 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.34 KB

swarmake   CI status Latest Version

Fetch, build, and run the OpenSwarm.

For help, use swarmake [command] --help.

Examples

Build

Build the DotBot firmware:

# clone the dotbot repo and build it in Docker, using the recipe defined in swarmake.toml
swarmake build dotbot

Build the Coaty Data Distribution Agent:

# clone the repo and prepare the docker image
swarmake build dotbot

Run

Build and run the lakers library:

# clone the lakers repo and build it using the recipe defined in swarmake.toml
# when stderr is redirected, we suppress stdout too and just show a "loading" line
swarmake build lakers 2> /dev/null
# run according to swarmake.toml
swarmake run lakers

Deploy

Deploy a Swarm of DotBots:

TARGET_APP=move swarmake deploy --monitor

The command above will:

  1. clone & build the dotbot and swarmit projects
  2. flash the firmware to one or more available dotbots
  3. start the experiment (i.e. run the firmware)
  4. keep monitoring logs sent from dotbots