From f5ef9adc4db4534cde804892eac9347030b78ceb Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 1 Nov 2025 21:29:18 +0100 Subject: [PATCH] docs: Adds information about changes when running in a development environment --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e613464..a46ecb0 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,17 @@ To run Surveillance using docker, decide between development/testing or producti 3. Visit `http://localhost:8081/` in a browser; you should see an interactive OpenStreetMap +4. You can see most cameras on the map immediately; the `data_handler` background process continuously applies updates from OpenStreetMap which become visible after refrshing the page + +5. Appending `-f docker-compose.dev.yml` applies these changes: + + - PHP won't supress any errors; to disable this, remove `return;` in `./web/www/sunders/config.php` + + - Making changes in the `web` will immediately apply them to the running containers; try modifying `web/www/sunders/index.php` + + - Making changes in the `data_handler` will immediately apply them to the running containers (try modifying `data_handler/utils/update_camera.sh`) + + - The host has access to database files at `./mariadb` ### Production 1. Close this repository @@ -49,7 +60,7 @@ To run Surveillance using docker, decide between development/testing or producti 3. Visit `http://localhost:8081/` in a browser to open the web interface -4. +4. You can see most cameras on the map immediately; the `data_handler` background process continuously applies updates from OpenStreetMap which become visible after refrshing the page ## Surveillance nodes