aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-07-20 20:45:41 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2020-07-20 20:45:41 +0300
commit4e566a04082dacfc2057fd92a4f0f0ef1f1a9cb0 (patch)
treebee35c90dbcd311a2077aa57f8a0e9471feec995 /docs
parentadfcd59738c57f008398dab06b2dd02cef206925 (diff)
downloadpleroma-4e566a04082dacfc2057fd92a4f0f0ef1f1a9cb0.tar.gz
Update docs
Diffstat (limited to 'docs')
-rw-r--r--docs/administration/CLI_tasks/frontend.md24
1 files changed, 21 insertions, 3 deletions
diff --git a/docs/administration/CLI_tasks/frontend.md b/docs/administration/CLI_tasks/frontend.md
index b66ac14d3..091631147 100644
--- a/docs/administration/CLI_tasks/frontend.md
+++ b/docs/administration/CLI_tasks/frontend.md
@@ -1,9 +1,14 @@
# Managing frontends
-`mix pleroma.frontend install <frontend> --path <path>`
+`mix pleroma.frontend install <frontend> [--path <path>] [--develop] [--ref <ref>]`
+Frontend can be installed either from local path with compiled sources, or from web.
-Install locally built frontend.
+If installing from web, make sure you have [yarn](https://yarnpkg.com/getting-started/install)
+since it's needed to build frontend locally. When no `--develop` or `--ref <ref>`
+options passed, latest stable frontend will be installed.
+
+If installing from local path, building of sources is up to you.
Currently supported `<frontend>` values:
- [admin](https://git.pleroma.social/pleroma/admin-fe)
@@ -11,7 +16,7 @@ Currently supported `<frontend>` values:
- [mastodon](http://git.pleroma.social/pleroma/mastofe)
- [pleroma](http://git.pleroma.social/pleroma/pleroma-fe)
-The complete process of installing frontend would be following:
+The complete process of installing frontend from local path would be following:
- download a frontend:
```bash
@@ -24,4 +29,17 @@ cd pleroma-fe && yarn && yarn build
- run the following command inside your Pleroma instance root directory:
```bash
mix pleroma.frontend install pleroma --path /path/to/pleroma-fe
+```
+
+The complete process of installing frontend from web would be following:
+- make sure you've got `yarn` installed:
+
+```bash
+yarn -v
+```
+
+- run the following command inside your Pleroma instance root directory to
+install latest develop frontend:
+```bash
+mix pleroma.frontend install pleroma --develop
``` \ No newline at end of file