The Nature Recorder is a personal widlife sightings logbook application implemented using Python.
2.0K
The Nature Recorder is a personal widlife sightings logbook application implemented using Python.
The application provides facilities for recording and querying the following data:
The naturerecorderpy image contains a distribution of the application implementing a Flask-based web UI hosted on the Flask development server, for personal use only.
In order to run this image you'll need docker installed.
The following "docker run" parameters are recommended when running the naturerecorderpy image:
| Parameter | Value | Purpose |
|---|---|---|
| -d | - | Run as a background process |
| -v | /local:/var/opt/naturerecorderpy.api | Mount the host folder containing the SQLite database |
| -p | 80:5000 | Expose the container's port 5000 as port 80 on the host |
| --rm | - | Remove the container automatically when it stops |
For example:
docker run -d -v /local:/var/opt/naturerecorderpy/ -p 80:5000 --rm davewalker5/naturerecorderpy:latest
The "/local" path given to the -v argument is described, below, and should be replaced with a value appropriate for the host running the container. Similarly, the port number "80" can be replaced with any available port on the host.
The description of the container parameters, above, specifies that a folder containing the SQLite database file for the application is mounted in the running container, using the "-v" parameter.
That folder should contain a SQLite database named "naturerecorder.db", created using the instructions in the project's README
To run the image, enter the following commands, substituting "/local" for the host folder containing the SQLite database, as described:
docker run -d -v /local:/var/opt/naturerecorderpy/ -p 80:5000 --rm davewalker5/naturerecorderpy:latest
Once the container is running, browse to the following URL on the host:
You should see the sightings entry page, with other data maintenance and reporting options in the menu bar at the top of the page.
For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.
Content type
Image
Digest
sha256:1ca073d93…
Size
175.3 MB
Last updated
about 1 month ago
docker pull davewalker5/naturerecorderpy