ketr.photos/README.md
James Ketrenos 836b27ac54 Face scanning working
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-01-05 12:00:42 -08:00

52 lines
1.1 KiB
Markdown

# Overview
This photo manager performs the following:
1. Scan a target directory looking for any photo that has been updated,
removed, or added
2. Process that image, extracting EXIF data, and adding to the DB
3. 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:
```bash
ln -s /multimedia/Pictures photos
ln -s /multimedia/PicturesDB db
```
Then build and spin up the container:
```bash
docker build . -t photos
docker-compose up -d
```
At this point, port 8123 will be supporting the photo app.
#### Upgrade Node
```bash
wget -qO- https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install --yes nodejs
```
```bash
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.