CONFIGURATION.md: add doc about upload and strip_exif
authorTristan Mahé <gled@remote-shell.net>
Thu, 28 Jun 2018 17:49:44 +0000 (10:49 -0700)
committerTristan Mahé <gled@remote-shell.net>
Thu, 28 Jun 2018 17:49:44 +0000 (10:49 -0700)
CONFIGURATION.md

index 3f0ecafb5c514eaa268a8a4c40831568b80b0e91..51a76d1b7afac9af6da2d6b8918e8ce77310bd2f 100644 (file)
@@ -13,6 +13,21 @@ Instead, overload the settings by editing the following files:
 * `dev.secret.exs`: custom additional configuration for `MIX_ENV=dev`
 * `prod.secret.exs`: custom additional configuration for `MIX_ENV=prod`
 
+## Uploads configuration
+
+To configure where to upload files, and wether or not 
+you want to remove automatically EXIF data from pictures
+being uploaded.
+
+    config :pleroma, Pleroma.Upload,
+      uploads: "uploads",
+      strip_exif: false
+
+* `uploads`: where to put the uploaded files, relative to pleroma's main directory.
+* `strip_exif`: whether or not to remove EXIF data from uploaded pics automatically. 
+   This needs Imagemagick installed on the system ( apt install imagemagick ).
+
+
 ## Block functionality
 
     config :pleroma, :activitypub,