Tenki a simple PHP application for logging current weather conditions, notes, and waypoints.
The accompanying shell script can be used to read the date of a specified photo then find a matching text file, and write its contents into the Comment field of the photo.
The Linux Photography book provides detailed information on using Tenki. Get your copy at Google Play Store or Gumroad.
Perform the following steps on the machine you want to use to serve Tenki.
- Install Docker.
- Create a directory for storing Tenki data.
- Clone the Tenki Git repository using the
git clone https://github.com/dmpop/tenki.git
command. - Switch to the tenki directory.
- Open the config.php file for editing, and modify the available settings. Save the changes.
- Build an image using the
docker build -t tenki .
command. - Run a container:
docker run -d --rm -p 8080:8080 --name=tenki -v /path/to/data:/usr/src/tenki/data:rw tenki
(replace /path/to/data with the actual path to the created directory). - Point the browser to http://127.0.0.1:8080 (replace 127.0.0.1 with the actual IP address or domain name of the machine running the container).
Dmitri Popov dmpop@cameracode.coffee