diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/administration/CLI_tasks/frontend.md | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/docs/administration/CLI_tasks/frontend.md b/docs/administration/CLI_tasks/frontend.md index 6c31bd660..b66ac14d3 100644 --- a/docs/administration/CLI_tasks/frontend.md +++ b/docs/administration/CLI_tasks/frontend.md @@ -1,9 +1,27 @@ # Managing frontends -`mix pleroma.frontend install kenoma --ref=stable` +`mix pleroma.frontend install <frontend> --path <path>` -`develop` and `stable` refs are special: they are not necessarily `develop` or -`stable` branches of the chosen frontend repo, but are smart aliases for either -default branch of a frontend repo (develop), or latest release in a repo (stable). -Only refs that have been built with Gitlab CI can be installed
\ No newline at end of file +Install locally built frontend. + +Currently supported `<frontend>` values: +- [admin](https://git.pleroma.social/pleroma/admin-fe) +- [kenoma](http://git.pleroma.social/lambadalambda/kenoma) +- [mastodon](http://git.pleroma.social/pleroma/mastofe) +- [pleroma](http://git.pleroma.social/pleroma/pleroma-fe) + +The complete process of installing frontend would be following: +- download a frontend: + +```bash +git clone https://git.pleroma.social/pleroma/pleroma-fe.git +``` +- build the frontend +```bash +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 +```
\ No newline at end of file |