summaryrefslogtreecommitdiff
path: root/docs/config/General-tips-for-customizing-Pleroma-FE.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-04-08 14:10:43 +0200
committerlain <lain@soykaf.club>2019-04-08 14:10:43 +0200
commit5d871173d189a0019fda0ee76f8a324d90a163ee (patch)
treec3e423993ff5289dd0ba73a94881bd52d9cda1c2 /docs/config/General-tips-for-customizing-Pleroma-FE.md
parent037fefe21871ee0a1926286c87c334ea1d339394 (diff)
parentaac48d0cc6893c231c88d5cd7fe0334353bbf299 (diff)
downloadpleroma-5d871173d189a0019fda0ee76f8a324d90a163ee.tar.gz
pleroma-5d871173d189a0019fda0ee76f8a324d90a163ee.zip
Merge branch 'features/mastoapi/2.6.0-conversations' of git.pleroma.social:pleroma/pleroma into features/mastoapi/2.6.0-conversations
Diffstat (limited to 'docs/config/General-tips-for-customizing-Pleroma-FE.md')
-rw-r--r--docs/config/General-tips-for-customizing-Pleroma-FE.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/config/General-tips-for-customizing-Pleroma-FE.md b/docs/config/General-tips-for-customizing-Pleroma-FE.md
new file mode 100644
index 000000000..15c4882dd
--- /dev/null
+++ b/docs/config/General-tips-for-customizing-Pleroma-FE.md
@@ -0,0 +1,17 @@
+# General tips for customizing Pleroma FE
+There are some configuration scripts for Pleroma BE and FE:
+
+1. `config/prod.secret.exs`
+1. `config/config.exs`
+1. `priv/static/static/config.json`
+
+The `prod.secret.exs` affects first. `config.exs` is for fallback or default. `config.json` is for GNU-social-BE-Pleroma-FE instances.
+
+Usually all you have to do is:
+
+1. Copy the section in the `config/config.exs` which you want to activate.
+1. Paste into `config/prod.secret.exs`.
+1. Edit `config/prod.secret.exs`.
+1. Restart the Pleroma daemon.
+
+`prod.secret.exs` is for the `MIX_ENV=prod` environment. `dev.secret.exs` is for the `MIX_ENV=dev` environment respectively.