diff --git a/docs/abra/cheat-sheet.md b/docs/abra/cheat-sheet.md index 2a3559a..bd133ba 100644 --- a/docs/abra/cheat-sheet.md +++ b/docs/abra/cheat-sheet.md @@ -15,6 +15,8 @@ Definitely set up autocomplete or you'll be sad :sob: `abra` supports `bash`, ``` $ abra autocomplete bash +# Restart your terminal or load autocompletion in place +$ source /etc/bash_completion.d/abra ``` diff --git a/docs/operators/tutorial.md b/docs/operators/tutorial.md index d3bc1ae..cdb5429 100644 --- a/docs/operators/tutorial.md +++ b/docs/operators/tutorial.md @@ -32,15 +32,25 @@ You need to keep port `:80` and `:443` free on your server for web proxying to y Docker. ``` +# ssh into your server +ssh + # docker install convenience script wget -O- https://get.docker.com | bash # add user to docker group sudo usermod -aG docker $USER -# setup swarm +# exit and re-login to load the group +exit +ssh + +# back on the server, setup swarm docker swarm init docker network create -d overlay proxy + +# now you can exit and start using abra +exit ``` ??? question "Do you support multiple web proxies?" @@ -82,7 +92,8 @@ abra -h ``` You may need to add the `~/.local/bin/` directory to your `$PATH` variable, in -order to run the executable. +order to run the executable. Also, run this line into your terminal so +you have immediate access to `abra` on the current terminal. ```bash export PATH=$PATH:$HOME/.local/bin