Update Alpine install guide #49

Merged
floatingghost merged 11 commits from norm/akkoma:alpine-docs-update into develop 2022-07-07 18:17:32 +00:00
Contributor

The erlang-runtime-tools and erlang-xmerl packages are no longer
available in newer Alpine versions and it doesn't seem like they're
needed anyways.

The `erlang-runtime-tools` and `erlang-xmerl` packages are no longer available in newer Alpine versions and it doesn't seem like they're needed anyways.
norm added 1 commit 2022-07-05 13:22:24 +00:00
Update Alpine install guide
Some checks failed
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
a3e09f1e90
The `erlang-runtime-tools` and `erlang-xmerl` packages are no longer
available in newer Alpine versions and it doesn't seem like they're
needed anyways.
First-time contributor

sudo has also been moved to the community repository and doas is the package recommended by Alpine. I remember having issues setting up pleroma initially because the commands in the guide aren't exactly drop-in compatible with doas.

sudo has also been moved to the community repository and doas is the package recommended by Alpine. I remember having issues setting up pleroma initially because the commands in the guide aren't exactly drop-in compatible with doas.
Author
Contributor

One difference I can tell is that unlike sudo, you'll need to use env to set environment variables like MIX_ENV=prod. Gonna update the guide to reflect that.

One difference I can tell is that unlike sudo, you'll need to use `env` to set environment variables like `MIX_ENV=prod`. Gonna update the guide to reflect that.
norm added 1 commit 2022-07-05 15:03:22 +00:00
Update Alpine guide to use doas
All checks were successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
31f08f4ec2
First-time contributor

alpine.42.fr doesn't seem to resolve anymore, and it's not on the list of alpine mirrors either. should probably replace with something like https://dl-5.alpinelinux.org/alpine/

alpine.42.fr doesn't seem to resolve anymore, and it's not on the list of alpine mirrors either. should probably replace with something like https://dl-5.alpinelinux.org/alpine/
norm added 1 commit 2022-07-05 18:33:38 +00:00
Update Alpine Linux mirror example
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
d8c324bc98

i don't use alpine, so i'll defer to @sfr - looking coherent to you?

i don't use alpine, so i'll defer to @sfr - looking coherent to you?
First-time contributor

yeah this looks pretty good, I have a few issues but it's nothing specifically related to Alpine and it should maybe be addressed in a separate PR

  • /opt/akkoma is a weird placement and I've never liked it, why not something like /usr/local/akkoma (Alpine doesn't even come with an opt directory)

  • doas -u akkoma mv config/{generated_config.exs,prod.secret.exs} should probably be replaced with a cp in case something gets borken later down the line

yeah this looks pretty good, I have a few issues but it's nothing specifically related to Alpine and it should maybe be addressed in a separate PR - `/opt/akkoma` is a weird placement and I've never liked it, why not something like `/usr/local/akkoma` (Alpine doesn't even come with an opt directory) - `doas -u akkoma mv config/{generated_config.exs,prod.secret.exs}` should probably be replaced with a `cp` in case something gets borken later down the line

ok, thank, that's good enough for me

@norm can you fix the conflict (apparently i can't, sadde), and i'll merge

ok, thank, that's good enough for me @norm can you fix the conflict (apparently i can't, sadde), and i'll merge
norm added 6 commits 2022-07-07 18:13:11 +00:00
Reviewed-on: #51
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
Reviewed-on: #48
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
Reviewed-on: #52
Reviewed-on: #53
Fix release installation
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
61da001e7b
norm added 1 commit 2022-07-07 18:14:08 +00:00
norm added 1 commit 2022-07-07 18:15:05 +00:00
Author
Contributor

Should be fixed now

Should be fixed now

indeed it is, thanks~

indeed it is, thanks~
floatingghost merged commit fef48af31e into develop 2022-07-07 18:17:32 +00:00
rat referenced this pull request from a commit 2024-02-25 20:33:28 +00:00
Sign in to join this conversation.
No description provided.