Skip to content

Commit

Permalink
Merge pull request #678 from ethersphere/2-3-0-version-replace
Browse files Browse the repository at this point in the history
Replace version number
  • Loading branch information
NoahMaizels authored Dec 12, 2024
2 parents 1d1700b + 3fa3458 commit bfbe2a9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions docs/bee/installation/build-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Prerequisites for installing direct from source are:
3. Checkout the required version:

```bash
git checkout v2.2.0
git checkout v2.3.0
```

4. Build the binary:
Expand All @@ -47,7 +47,7 @@ Prerequisites for installing direct from source are:
```

```
2.2.0
2.3.0
```

6. (optional) Additionally, you may also like to move the Bee binary to somewhere in your `$PATH`
Expand Down
20 changes: 10 additions & 10 deletions docs/bee/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ docker run -d --name bee-node \
-v "$(pwd)/bee.yml:/home/bee/bee.yml" \
-p 127.0.0.1:1633:1633 \
-p 1634:1634 \
ethersphere/bee:2.2.0 start --config /home/bee/bee.yml
ethersphere/bee:2.3.0 start --config /home/bee/bee.yml
```
:::info
Command breakdown:
Expand All @@ -306,7 +306,7 @@ Command breakdown:

1. **`-p 1634:1634`**: This maps port 1634 on all network interfaces of your host machine to port 1634 inside the container. This is used for P2P communication.

1. **`ethersphere/bee:2.2.0`**: This specifies the Docker image to use for the container. In this case, it is the `ethersphere/bee` image with the tag `2.2.0`.
1. **`ethersphere/bee:2.3.0`**: This specifies the Docker image to use for the container. In this case, it is the `ethersphere/bee` image with the tag `2.3.0`.

1. **`start --config /home/bee/bee.yml`**: This specifies the command to run inside the container. It starts the Bee node using the configuration file located at `/home/bee/bee.yml`.
:::
Expand All @@ -324,7 +324,7 @@ If everything is set up correctly, you should see your Bee node listed:
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
e53aaa4e76ec ethersphere/bee:2.2.0 "bee start --config …" 17 seconds ago Up 16 seconds 127.0.0.1:1633->1633/tcp, 0.0.0.0:1634->1634/tcp, :::1634->1634/tcp, bee-node
e53aaa4e76ec ethersphere/bee:2.3.0 "bee start --config …" 17 seconds ago Up 16 seconds 127.0.0.1:1633->1633/tcp, 0.0.0.0:1634->1634/tcp, :::1634->1634/tcp, bee-node
```

And check the logs:
Expand Down Expand Up @@ -497,14 +497,14 @@ cat ./node_01/bee.yml
You can use the same Docker Compose configuration for all the node types.

:::info
Note that we have specified the exact version number of the image using the 2.2.0 tag. It's recommended to always specify the exact version number you need using the version tag. You can find all available tags for Bee on [Docker Hub](https://hub.docker.com/r/ethersphere/bee/tags).
Note that we have specified the exact version number of the image using the 2.3.0 tag. It's recommended to always specify the exact version number you need using the version tag. You can find all available tags for Bee on [Docker Hub](https://hub.docker.com/r/ethersphere/bee/tags).
:::

```yml
services:
bee_01:
container_name: bee-node_01
image: ethersphere/bee:2.2.0
image: ethersphere/bee:2.3.0
command: start --config /home/bee/bee.yml
volumes:
- ./node_01/.bee:/home/bee/.bee
Expand Down Expand Up @@ -565,7 +565,7 @@ If we did everything properly we should see our node listed here:
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
e53aaa4e76ec ethersphere/bee:2.2.0 "bee start --config …" 17 seconds ago Up 16 seconds 127.0.0.1:1636->1633/tcp, 0.0.0.0:1637->1634/tcp, :::1637->1634/tcp, bee-node_01
e53aaa4e76ec ethersphere/bee:2.3.0 "bee start --config …" 17 seconds ago Up 16 seconds 127.0.0.1:1636->1633/tcp, 0.0.0.0:1637->1634/tcp, :::1637->1634/tcp, bee-node_01
```

Now let's check our logs:
Expand Down Expand Up @@ -676,7 +676,7 @@ Here is the Docker compose configuration for running a hive of two Bee nodes:
services:
bee_01:
container_name: bee-node_01
image: ethersphere/bee:2.2.0
image: ethersphere/bee:2.3.0
command: start --config /home/bee/bee.yml
volumes:
- ./node_01/.bee:/home/bee/.bee
Expand All @@ -686,7 +686,7 @@ services:
- 1634:1634 # p2p port
bee_02:
container_name: bee-node_02
image: ethersphere/bee:2.2.0
image: ethersphere/bee:2.3.0
command: start --config /home/bee/bee.yml
volumes:
- ./node_02/.bee:/home/bee/.bee
Expand Down Expand Up @@ -720,8 +720,8 @@ docker ps
```shell
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
a62ec5143d30 ethersphere/bee:2.2.0 "bee start --config …" 2 seconds ago Up 1 second 127.0.0.1:1636->1633/tcp, 0.0.0.0:1637->1634/tcp, :::1637->1634/tcp, bee-node_02
a3496b9bb2c8 ethersphere/bee:2.2.0 "bee start --config …" 2 seconds ago Up 1 second 127.0.0.1:1633->1633/tcp, 0.0.0.0:1634->1634/tcp, :::1634->1634/tcp bee-node_01
a62ec5143d30 ethersphere/bee:2.3.0 "bee start --config …" 2 seconds ago Up 1 second 127.0.0.1:1636->1633/tcp, 0.0.0.0:1637->1634/tcp, :::1637->1634/tcp, bee-node_02
a3496b9bb2c8 ethersphere/bee:2.3.0 "bee start --config …" 2 seconds ago Up 1 second 127.0.0.1:1633->1633/tcp, 0.0.0.0:1634->1634/tcp, :::1634->1634/tcp bee-node_01
```

And we can also check the logs for each node:
Expand Down
12 changes: 6 additions & 6 deletions docs/bee/installation/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ Need to get 0 B/27.2 MB of archives.
After this operation, 50.8 MB of additional disk space will be used.
Selecting previously unselected package bee.
(Reading database ... 82381 files and directories currently installed.)
Preparing to unpack .../archives/bee_2.2.0_amd64.deb ...
Unpacking bee (2.2.0) ...
Setting up bee (2.2.0) ...
Preparing to unpack .../archives/bee_2.3.0_amd64.deb ...
Unpacking bee (2.3.0) ...
Setting up bee (2.3.0) ...

Logs: journalctl -f -u bee.service
Config: /etc/bee/bee.yaml
Expand Down Expand Up @@ -172,13 +172,13 @@ Use either of the following commands to run the script and install Bee:
#### wget
```bash
wget -q -O - https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v2.2.0 bash
wget -q -O - https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v2.3.0 bash
```
#### curl
```bash
curl -s https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v2.2.0 bash
curl -s https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v2.3.0 bash
```
### Build from source
If neither of the above methods works for your system, you can see our guide for [building directly from source](/docs/bee/installation/build-from-source).
Expand Down Expand Up @@ -771,7 +771,7 @@ bee version
```
```
2.2.0
2.3.0
```
Once the Bee node has been funded, the chequebook deployed, and postage stamp
Expand Down

0 comments on commit bfbe2a9

Please sign in to comment.