aboutsummaryrefslogtreecommitdiff
path: root/docs/administration
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-01-29 16:37:40 +0100
committerlain <lain@soykaf.club>2020-01-29 16:37:40 +0100
commit88f890ef82fa70900d0b62832bbb6bb159cd778d (patch)
tree4e2fc2eab67f725ba5ce855c8bffa390f9427394 /docs/administration
parent9e0c2413b4c2382d3a17eb7fc33ab6ed2ba26b2a (diff)
downloadpleroma-88f890ef82fa70900d0b62832bbb6bb159cd778d.tar.gz
Frontend Mix Task: Add basic functionality + docs
Diffstat (limited to 'docs/administration')
-rw-r--r--docs/administration/CLI_tasks/frontend.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/administration/CLI_tasks/frontend.md b/docs/administration/CLI_tasks/frontend.md
new file mode 100644
index 000000000..0827c8a3e
--- /dev/null
+++ b/docs/administration/CLI_tasks/frontend.md
@@ -0,0 +1,18 @@
+# Managing frontends
+
+{! backend/administration/CLI_tasks/general_cli_task_info.include !}
+
+## Download the latest frontend
+
+This downloads a snapshot of the latest Pleroma-FE for a given reference and writes it to the `static_dir`. In a default setup, this means that this snapshot will be served as the frontend by the backend.
+
+```sh tab="OTP"
+ ./bin/pleroma_ctl pleroma.frontend download [<options>]
+```
+
+```sh tab="From Source"
+mix pleroma.frontend download [<options>]
+```
+
+### Options
+- `--reference <reference>` - Specify the reference that willl be downloaded. Defaults to `master`.