aboutsummaryrefslogtreecommitdiff
path: root/doc/book/src/connect/cli.md
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-11-03 12:55:03 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-11-03 14:39:14 +0100
commite93d7fb2289e7462b3f3c950f79cdbfa0400988c (patch)
tree95b8696e5192f98559f30f8cc64b2422eae335db /doc/book/src/connect/cli.md
parenteaf54efb25df598ac8db7b1a0c89a6e5be442179 (diff)
downloadgarage-e93d7fb2289e7462b3f3c950f79cdbfa0400988c.tar.gz
garage-e93d7fb2289e7462b3f3c950f79cdbfa0400988c.zip
Add Peertube + improve CLI instructions
Diffstat (limited to 'doc/book/src/connect/cli.md')
-rw-r--r--doc/book/src/connect/cli.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/book/src/connect/cli.md b/doc/book/src/connect/cli.md
index 168f3ff5..3fc11aad 100644
--- a/doc/book/src/connect/cli.md
+++ b/doc/book/src/connect/cli.md
@@ -57,17 +57,17 @@ Then a file named `~/.aws/config` and put:
region=garage
```
-Now, supposing Garage is listening on `http://127.0.0.1:3901`, you can list your buckets with:
+Now, supposing Garage is listening on `http://127.0.0.1:3900`, you can list your buckets with:
```bash
-aws --endpoint-url http://127.0.0.1:3901 s3 ls
+aws --endpoint-url http://127.0.0.1:3900 s3 ls
```
Passing the `--endpoint-url` parameter to each command is annoying but AWS developers do not provide a corresponding configuration entry.
As a workaround, you can redefine the aws command by editing the file `~/.bashrc`:
```
-function aws { command aws --endpoint-url http://127.0.0.1:3911 $@ ; }
+function aws { command aws --endpoint-url http://127.0.0.1:3900 $@ ; }
```
*Do not forget to run `source ~/.bashrc` or to start a new terminal before running the next commands.*