Nodes

guruGuru
search

Streamr - Setup Guide

Back to projectRU
Stuck? AsktelegramNodes Guru telegram community

Rent on

1. Installing Docker

curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh

2. Running the setup wizard

mkdir $HOME/.streamrDocker
cd $HOME/.streamrDocker
docker run -it -v $(cd $HOME/.streamrDocker; pwd):/root/.streamr streamr/broker-node:testnet bin/config-wizard

Select Generate:

Streamr-1

Press A, Enter:

Streamr-2

Leave the default ports (just press Enter):

Streamr-3

Streamr-4

Streamr-5
Open the link in the browser – this is your node in the explorer, save the private key (highlighted white in the screenshot and blurred):

Streamr-6

3. Start the node

docker create --name streamr --restart=always -p 7170:7170 -p 7171:7171 -p 1883:1883 -v $(cd $HOME/.streamrDocker; pwd):/root/.streamr streamr/broker-node:testnet
docker start streamr

Check the logs:

docker logs streamr -f --tail=50

After a while you should see the following message in the logs:

Streamr-7

It means that everything works correctly.

4. Additional

Check the logs:

docker logs streamr -f --tail=50

Update the node:

docker stop streamr && docker rm streamr
docker pull streamr/broker-node:testnet
docker create --name streamr --restart=always -p 7170:7170 -p 7171:7171 -p 1883:1883 -v $(cd $HOME/.streamrDocker; pwd):/root/.streamr streamr/broker-node:testnet
docker start streamr
docker logs streamr -f --tail=50