Skip to content

Commit 41a8dfb

Browse files
Default scripts to use local Kubo (paritytech#117)
1 parent 77cfb46 commit 41a8dfb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ docker exec -it ipfs-node ipfs swarm connect /ip4/172.17.0.1/tcp/12347/ws/p2p/12
8282

8383
```shell
8484
# Runs a script that reconnects every 2 seconds
85-
# Defaults to Docker; use 'local' to use the local Kubo instance
85+
# Defaults to 'local' (local Kubo); use 'docker' for the Docker setup
8686
./scripts/ipfs-reconnect-solo.sh
8787
```
8888

@@ -143,7 +143,7 @@ docker exec -it ipfs-node ipfs swarm connect /ip4/172.17.0.1/tcp/12347/ws/p2p/12
143143

144144
```shell
145145
# Runs a script that reconnects every 2 seconds
146-
# Defaults to Docker; use 'local' to use the local Kubo instance
146+
# Defaults to 'local' (local Kubo); use 'docker' for the Docker setup
147147
./scripts/ipfs-reconnect-westend.sh
148148
```
149149

scripts/ipfs-reconnect-solo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
THIS_DIR=$(cd $(dirname $0); pwd)
44

55
# Choose mode based on argument
6-
mode="${1:-docker}"
6+
mode="${1:-local}"
77
if [ "$mode" = "docker" ]; then
88
check_cmd="docker exec ipfs-node ipfs"
99
check_host="172.17.0.1"

scripts/ipfs-reconnect-westend.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
THIS_DIR=$(cd $(dirname $0); pwd)
44

55
# Choose mode based on argument
6-
mode="${1:-docker}"
6+
mode="${1:-local}"
77
if [ "$mode" = "docker" ]; then
88
check_cmd="docker exec ipfs-node ipfs"
99
check_host="172.17.0.1"

0 commit comments

Comments
 (0)