Formatting, typos
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2024-03-30 13:34:35 -03:00
parent 161dfd53ad
commit e775d5cc77
1 changed files with 11 additions and 11 deletions

View File

@ -10,9 +10,9 @@ A Co-op Cloud speedrun attempt livestream! Brought to you by by libre software.
<!--more-->
It'd been so long since [the last Co-op Cloud demo video](https://asciinema.org/a/405836) that, since then, our core command-line tool `abra` had been completely rewritten (from Bash to Golang), and the entire Co-op Cloud project moved from an in-house Autonomic production to a participatory, democractic [Co-op Cloud federation](https://docs.coopcloud.tech/federation/). Definitely time for an update!
It'd been so long since [the last Co-op Cloud demo video](https://asciinema.org/a/405836) that, since then, our core command-line tool `abra` had been completely rewritten (from Bash to Golang), and the entire Co-op Cloud project moved from an in-house Autonomic production to a participatory, democratic [Co-op Cloud federation](https://docs.coopcloud.tech/federation/). Definitely time for an update!
So, Co-op Cloud nerd @3wc picked up the fine tradition of [speedrunning](https://en.wikipedia.org/wiki/Speedrunning) for a "Selfhosted Infrastructure Any%" livestream attempting to beat their personal best time of 46m17s to deploy chat (Matrix / Fluffychat), microblogging (Hometown), and file-/calendar-sharing (Nextcloud) behind single sign-on (Keycloak).
So, Co-op Cloud nerd `@3wc` picked up the fine tradition of [speedrunning](https://en.wikipedia.org/wiki/Speedrunning) for a "Selfhosted Infrastructure Any%" livestream attempting to beat their personal best time of 46m17s to deploy chat (Matrix / Fluffychat), microblogging (Hometown), and file-/calendar-sharing (Nextcloud) behind single sign-on (Keycloak).
<iframe title="Selfhosted Infrastructure Any%" width="560" height="315" src="https://tv.undersco.re/videos/embed/0044ff41-bf84-4b53-a6e0-4f7d7ce38622" frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups"></iframe>
@ -36,7 +36,7 @@ To avoid needing to screenshare DNS and server configuration, there are DNS reco
### 1 Local setup
```
```bash
apt update && apt install vim curl wget openssh-client -y
export EDITOR=vim
```
@ -45,7 +45,7 @@ export EDITOR=vim
The next step is to copy-paste this from the [`abra` installation instructions](https://docs.coopcloud.tech/operators/tutorial/#install-abra):
```
```bash
curl https://install.abra.coopcloud.tech | bash
```
@ -57,7 +57,7 @@ Then, running `abra autocomplete bash` shows the necessary commands to set us up
The next step, on the virtual server, is to run the ["Server set-up" section](https://docs.coopcloud.tech/operators/tutorial/#server-setup) of the Co-op Cloud docs:
```
```bash
ssh speedrun.coopcloud.tech
# docker install convenience script
wget -O- https://get.docker.com | bash
@ -75,7 +75,7 @@ Lastly, back on the local machine, `abra app server add speedrun.coopcloud.tech`
### 3. Traefik
```
```bash
abra app new traefik
abra app config traefik.speedrun.coopcloud.tech
abra app deploy traefik.speedrun.coopcloud.tech -c -n
@ -87,7 +87,7 @@ abra app deploy traefik.speedrun.coopcloud.tech -c -n
### 4. Keycloak
```
```bash
abra app new keycloak --secrets
abra app config keycloak.speedrun.coopcloud.tech
abra app deploy keycloak.speedrun.coopcloud.tech -c -n
@ -99,13 +99,13 @@ Then the Keycloak interface is available at `https://keycloak.speedrun.coopcloud
### 5. Matrix
```
```bash
abra app new matrix-synapse
```
Meanwhile, by this point Keycloak is alive, and ready to create a new "client". Doing so requires specifying a "client ID", and generates a new "client secret", both of which get added:
```
```bash
abra app config matrix-synapse.speedrun.coopcloud.tech --secrets
# fill in SSO details
abra app secret insert matrix-synapse.speedrun.coopcloud.tech keycloak_client_secret v1 (value)
@ -117,7 +117,7 @@ abra app deploy matrix-synapse.speedrun.coopcloud.tech -n -c
### 6. Fluffychat
```
```bash
abra app new fluffychat
abra app config fluffychat.speedrun.coopcloud.tech -n -c
```
@ -169,7 +169,7 @@ abra app deploy nextcloud.speedrun.coopcloud.tech
Annoyingly, Nextcloud needs stuff done in the web interface, and in the PHP config file, for SSO. So, with another new Keycloak client set up, the next step is logging into https://nextcloud.speedrun.coopcloud.tech, going to "Apps", installing "OIDC login by pulsejet", and then editing the config file:
```
```bash
abra app run nextcloud.speedrun.coopcloud.tech
apt update && apt install vim
vim config/config.php