summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-26 15:24:06 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-26 15:24:06 +0300
commitf5f1bb35c3736dd591f6689813c7fe95650e4bba (patch)
tree3e99806442c155b4cd90052114d2094c5d0db68d
parent877f91c0c489a7c33a6078dab4d00ceffc4af659 (diff)
Instructions on getting the flavour
-rw-r--r--docs/installation/migrating_from_source_otp_en.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/installation/migrating_from_source_otp_en.md b/docs/installation/migrating_from_source_otp_en.md
index add71d6af..46dc7b53b 100644
--- a/docs/installation/migrating_from_source_otp_en.md
+++ b/docs/installation/migrating_from_source_otp_en.md
@@ -82,10 +82,15 @@ mv ~pleroma/config/prod.secret.exs /etc/pleroma/config.exs
$EDITOR /etc/pleroma/config.exs
```
## Installing the release
+Before proceeding, get the flavour from [Detecting flavour](otp_en.html#detecting-flavour) section in OTP installation guide.
```sh
# Delete all files in pleroma user's directory
rm -r ~pleroma/*
+# Set the flavour environment variable to the string you got in Detecting flavour section.
+# For example if the flavour is `arm64-musl` the command will be
+export FLAVOUR="arm64-musl"
+
# Clone the release build into a temporary directory and unpack it
su pleroma -s $SHELL -lc "
curl 'https://git.pleroma.social/api/v4/projects/2/jobs/artifacts/master/download?job=$FLAVOUR' -o /tmp/pleroma.zip