summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-08-07 17:04:44 +0200
committerlain <lain@soykaf.club>2020-08-07 17:04:44 +0200
commit199ad47c22e5d72741f5809eb015bac9b00cca03 (patch)
tree4dd0b99b3c907f8d98a12a8fa2129941731b6b9f
parent50d5bdfd31970c9ab5461a3eeb2316dc3203dc61 (diff)
Docs: Add OTP commands to frontend docs.
-rw-r--r--docs/administration/CLI_tasks/frontend.md26
1 files changed, 21 insertions, 5 deletions
diff --git a/docs/administration/CLI_tasks/frontend.md b/docs/administration/CLI_tasks/frontend.md
index 11c1c8614..7d1c1e937 100644
--- a/docs/administration/CLI_tasks/frontend.md
+++ b/docs/administration/CLI_tasks/frontend.md
@@ -19,7 +19,11 @@ You can still install frontends that are not configured, see below.
For a frontend configured under the `available` key, it's enough to install it by name.
-```bash
+```sh tab="OTP"
+./bin/pleroma_ctl frontend install pleroma
+```
+
+```sh tab="From Source"
mix pleroma.frontend install pleroma
```
@@ -27,13 +31,21 @@ This will download the latest build for the the pre-configured `ref` and install
You can override any of the details. To install a pleroma build from a different url, you could do this:
-```bash
-mix pleroma.frontend install pleroma --ref 2huedition --build-url https://example.org/raymoo.zip
+```sh tab="OPT"
+./bin/pleroma_ctl frontend install pleroma --ref 2hu_edition --build-url https://example.org/raymoo.zip
+```
+
+```sh tab="From Source"
+mix pleroma.frontend install pleroma --ref 2hu_edition --build-url https://example.org/raymoo.zip
```
Similarly, you can also install from a local zip file.
-```bash
+```sh tab="OTP"
+./bin/pleroma_ctl frontend install pleroma --ref mybuild --file ~/Downloads/doomfe.zip
+```
+
+```sh tab="From Source"
mix pleroma.frontend install pleroma --ref mybuild --file ~/Downloads/doomfe.zip
```
@@ -45,7 +57,11 @@ Careful: This folder will be completely replaced on installation
The installation process is the same, but you will have to give all the needed options on the commond line. For example:
-```bash
+```sh tab="OTP"
+./bin/pleroma_ctl frontend install gensokyo --ref master --build-url https://gensokyo.2hu/builds/marisa.zip
+```
+
+```sh tab="From Source"
mix pleroma.frontend install gensokyo --ref master --build-url https://gensokyo.2hu/builds/marisa.zip
```