
Signed-off-by: James P. Ketrenos <james.p.ketrenos@intel.com>
Overview
This photo manager performs the following:
- Scan a target directory looking for any photo that has been updated, removed, or added
- Process that image, extracting EXIF data, and adding to the DB
- Schedule backend processing of all photos that have not been face scanned with the latest FACE_SCANNER version
To use the Docker
Create a symbolic link from 'photos' to where your photos are stored, and from 'db' to where you want the DB files:
ln -s /multimedia/Pictures photos
ln -s /multimedia/PicturesDB db
Then build and spin up the container:
docker build . -t photos
docker-compose up -d
At this point, port 8123 will be supporting the photo app.
Upgrade Node
wget -qO- https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install --yes nodejs
sudo npm install --global npm@latest
NEF processing uses darktable
sudo apt install -y darktable
Create photos
user for DB
Photos is currently using sqlite, which means you don't need to do anything fancy beyond having run 'npm install' to get sequelize and sqlite3 installed.
Description