escuela-comun-fixes #259

Merged
decentral1se merged 3 commits from fauno/docs.coopcloud.tech:escuela-comun-fixes into main 2024-07-11 23:07:08 +00:00
2 changed files with 15 additions and 2 deletions

View File

@ -15,6 +15,8 @@ Definitely set up autocomplete or you'll be sad :sob: `abra` supports `bash`,
``` ```
$ abra autocomplete bash $ abra autocomplete bash
# Restart your terminal or load autocompletion in place
$ source /etc/bash_completion.d/abra
``` ```

View File

@ -32,15 +32,25 @@ You need to keep port `:80` and `:443` free on your server for web proxying to y
Docker. Docker.
``` ```
# ssh into your server
ssh <server-domain>
# docker install convenience script # docker install convenience script
wget -O- https://get.docker.com | bash wget -O- https://get.docker.com | bash
# add user to docker group # add user to docker group
sudo usermod -aG docker $USER sudo usermod -aG docker $USER
# setup swarm # exit and re-login to load the group
exit
ssh <server-domain>
# back on the server, setup swarm
docker swarm init docker swarm init
docker network create -d overlay proxy docker network create -d overlay proxy
# now you can exit and start using abra
exit
``` ```
??? question "Do you support multiple web proxies?" ??? 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 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 ```bash
export PATH=$PATH:$HOME/.local/bin export PATH=$PATH:$HOME/.local/bin