From 96f37620fe1d04e7e5184d332ae802773a9e9173 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 7 Apr 2021 09:54:21 -0400 Subject: [PATCH] Update _fordevelopers.md --- slate/source/includes/_fordevelopers.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/slate/source/includes/_fordevelopers.md b/slate/source/includes/_fordevelopers.md index 5937392f..a2427d62 100644 --- a/slate/source/includes/_fordevelopers.md +++ b/slate/source/includes/_fordevelopers.md @@ -38,6 +38,14 @@ To run the unit tests, simply type: `./webodm.sh test` +## Apply Changes In Production + +Once you're done making changes, if you start WebODM in production mode (without the `--dev` flag), you will notice that your changes are missing. This is because `webodm.sh` uses the `opendronemap/webodm_webapp` docker image to launch WebODM, which doesn't have your changes. To apply the changes, you need to rebuild the docker image locally: + +`docker build -t opendronemap/webodm_webapp .` + +You can also modify the `docker-compose.yml` file to point to a different image. + ## Project Overview ### Backend