forked from kamba4/sunders
docs: Adds information about changes when running in a development environment
This commit is contained in:
parent
dbd0ff677f
commit
34339b8021
1 changed files with 13 additions and 2 deletions
15
README.md
15
README.md
|
|
@ -38,6 +38,17 @@ To run Surveillance using docker, decide between development/testing or producti
|
||||||
|
|
||||||
3. Visit `http://localhost:8080/` in a browser; you should see an interactive OpenStreetMap
|
3. Visit `http://localhost:8080/` 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
|
### Production
|
||||||
|
|
||||||
1. Close this repository
|
1. Close this repository
|
||||||
|
|
@ -46,9 +57,9 @@ To run Surveillance using docker, decide between development/testing or producti
|
||||||
|
|
||||||
3. Run `docker compose up` and wait for services to start up
|
3. Run `docker compose up` and wait for services to start up
|
||||||
|
|
||||||
3. Visit `http://localhost:8080/` in a browser to open the web interface
|
3. Visit `http://localhost:8080/` in a browser; you should see an interactive OpenStreetMap
|
||||||
|
|
||||||
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
|
## Surveillance nodes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue