aboutsummaryrefslogtreecommitdiff
path: root/docs/en/developers/03_Backend/05_Extensions.md
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-10 23:16:14 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-10 23:16:14 +0200
commit0910cf34c735d6b59b495e0b0dfff08d21fce7ac (patch)
tree32b0cec8b6d77180a67e1e673b8fbc6915686b0c /docs/en/developers/03_Backend/05_Extensions.md
parent7f76c8e553a498f8235c5fa79622b6d79b86765b (diff)
Add support for extensions in Docker environment (#3042)
By default, the container starts without extensions. But if for some reasons, you need to add them without copying or moving some code, you can embed them while starting the container. The syntax is: ``` make start extensions="/full/path/to/extension/1 /full/path/to/extension/2" ```
Diffstat (limited to 'docs/en/developers/03_Backend/05_Extensions.md')
-rw-r--r--docs/en/developers/03_Backend/05_Extensions.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md
index efcd6e4e2..5ba90bc8c 100644
--- a/docs/en/developers/03_Backend/05_Extensions.md
+++ b/docs/en/developers/03_Backend/05_Extensions.md
@@ -216,6 +216,13 @@ Here we are! We've talked about the most useful features of Minz and how to run
An extension allows you to easily add functionality to FreshRSS without having to touch the core of the project directly.
+### Make it work in Docker
+
+When working on an extension, it's easier to see it working directly in its environment. With Docker, you can leverage the use of the ```volume``` option when starting the container. Hopefully, you can use it without Docker-related knowledge by using the Makefile rule:
+```
+make start extensions="/full/path/to/extension/1 /full/path/to/extension/2"
+```
+
### Basic files and folders
The first thing to note is that **all** extensions **must** be located in the `extensions` directory, at the base of the FreshRSS tree.