Docs: Installing new/custom pleroma-fe lists old way #1187

Open
opened 2022-08-21 17:42:18 +00:00 by ilja · 0 comments
Member

See https://docs-develop.pleroma.social/frontend/HACKING/#replacing-your-instances-frontend-with-custom-fe-build

The problem with this way is that you'll overwrite files like your tos and other things you may have changed.

There's a front-end management system now that can be used. See https://docs-develop.pleroma.social/backend/configuration/cheatsheet/#frontend-management

Pleroma will first fetch files from static_dir, then from the frontends folder, then from priv. That way you can safely drop in a new fe without overwriting files like tos. It's also possible to keep different fe's next to each other and easily switch between them (e.g. to test a feature for a while, but then you want to easily switch back later).

Docs should note this new way of installing fe's

See https://docs-develop.pleroma.social/frontend/HACKING/#replacing-your-instances-frontend-with-custom-fe-build The problem with this way is that you'll overwrite files like your tos and other things you may have changed. There's a front-end management system now that can be used. See https://docs-develop.pleroma.social/backend/configuration/cheatsheet/#frontend-management Pleroma will first fetch files from static_dir, then from the frontends folder, then from priv. That way you can safely drop in a new fe without overwriting files like tos. It's also possible to keep different fe's next to each other and easily switch between them (e.g. to test a feature for a while, but then you want to easily switch back later). Docs should note this new way of installing fe's
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#1187
No description provided.