aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2018-12-13 14:42:58 +0000
committerShpuld Shpludson <shp@cock.li>2018-12-13 14:42:58 +0000
commitdbe79a3c2673b9a14bd8f3b037eca5999dd6a018 (patch)
treedc01a9b95e98e8268b913ab209adffcece43a135 /README.md
parentc824d2537884fb736ce7fe1263875b87d3c00c81 (diff)
parentc54eb1ecad33c4e45868ca35bcaa5404a1bfd0cd (diff)
Merge branch 'dev-qol' into 'develop'
Several fixes to make life of contributors a tiny bit easier. See merge request pleroma/pleroma-fe!409
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index b6e5a586..181b6a0d 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,15 @@ npm run build
npm run unit
```
+# For Contributors:
+
+You can create file `/config/local.json` (see [example](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/config/local.example.json)) to enable some convenience dev options:
+
+* `target`: makes local dev server redirect to some existing instance's BE instead of local BE, useful for testing things in near-production environment and searching for real-life use-cases.
+* `staticConfigPreference`: makes FE's `/static/config.json` take preference of BE-served `/api/statusnet/config.json`. Only works in dev mode.
+
+FE Build process also leaves current commit hash in global variable `___pleromafe_commit_hash` so that you can easily see which pleroma-fe commit instance is running, also helps pinpointing which commit was used when FE was bundled into BE.
+
# Configuration
Edit config.json for configuration. scopeOptionsEnabled gives you input fields for CWs and the scope settings.