This is not an official Ethersphere product.
This makes major modifications to the target server, exposing it to security risks.
Make sure you read and understand agent.sh
.
This tool is intended for developers who want to run Bee-Factory on a VPS.
It sets up Bee-Factory on a fresh VPS automatically and runs Bee, without ever having to ssh
to the server.
These servers are intended to be disposable and short-lived, used for developing on Swarm.
Requires root
user with password authentication method.
What you need to do:
- Create a new Ubuntu 20.04 VPS (tested with DigitalOcean $10 VPS)
- Set
BEE_HOST
,BEE_USERNAME
andBEE_PASSWORD
environment variables - Run
npm i && npm start
What will happen:
agent.sh
will be copied to the VPS and executed using thenode-ssh
package- One queen and one worker ephemeral Bee instances will be created using Bee-Factory
- Bee endpoints will be exposed on ports
1633
,1635
and11633
,11635