Merge branch 'improve_upgrade_user_from_ap_id' into 'develop'
[akkoma] / docs / config / General-tips-for-customizing-Pleroma-FE.md
1 # General tips for customizing Pleroma FE
2 There are some configuration scripts for Pleroma BE and FE:
3
4 1. `config/prod.secret.exs`
5 1. `config/config.exs`
6 1. `priv/static/static/config.json`
7
8 The `prod.secret.exs` affects first. `config.exs` is for fallback or default. `config.json` is for GNU-social-BE-Pleroma-FE instances.
9
10 Usually all you have to do is:
11
12 1. Copy the section in the `config/config.exs` which you want to activate.
13 1. Paste into `config/prod.secret.exs`.
14 1. Edit `config/prod.secret.exs`.
15 1. Restart the Pleroma daemon.
16
17 `prod.secret.exs` is for the `MIX_ENV=prod` environment. `dev.secret.exs` is for the `MIX_ENV=dev` environment respectively.