2022-05-02 10:22:38 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2021-10-06 12:15:56 +02:00
2021-08-10 14:17:59 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00
2022-04-29 15:51:09 +02:00

Bee Factory

Tests Dependency Status FOSSA Status standard-readme compliant js-standard-style

CLI tool to spin up Docker cluster of Bee nodes for advanced testing and/or development

Warning: This project is in beta state. There might (and most probably will) be changes in the future to its API and working. Also, no guarantees can be made about its stability, efficiency, and security at this stage.

Table of Contents

Install

Requirements: Docker

$ npm install -g @ethersphere/bee-factory

Usage

# This spin up the cluster and exits
$ bee-factory start --detach 1.2.0 1.5.1-d0a77598-stateful

# This attaches to the Queen container and displays its logs
$ bee-factory logs queen

# This stops the cluster and keeping the containers so next time they are spinned up the data are kept
# but data are not persisted across version's bump!
$ bee-factory stop

# You can also spin up the cluster without the --detach which then directly
# attaches to the Queen logs and the cluster is terminated upon SIGINT (Ctrl+C)
$ bee-factory start 1.2.0 1.5.1-d0a77598-stateful

For more details see the --help page of the CLI and its commands.

Contribute

There are some ways you can make this module better:

  • Consult our open issues and take on one of them
  • Help our tests reach 100% coverage!
  • Join us in our Discord chat in the #develop-on-swarm channel if you have questions or want to give feedback

Developing

You can run the CLI while developing using npm start -- <command> ....

Maintainers

License

BSD-3-Clause

FOSSA Status

Description
Builds up a development environment with Codex clients and with local blockchain node.
Readme BSD-3-Clause
Languages
TypeScript 98.4%
JavaScript 1.3%
Batchfile 0.3%