ketr.photos/README.md
James Ketrenos 44b157ee8b Switched from ufraw to darktable as ufraw is no longer in Ubuntu
Signed-off-by: James Ketrenos <james_gitlab@ketrenos.com>
2020-01-03 16:40:21 -08:00

49 lines
954 B
Markdown

# 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_8.x | sudo bash -
sudo apt-get install --yes nodejs
```
```bash
sudo npm install --global npm@latest
```
# Install BLAS to improve performance, and dev tools so
# face-recognition can build.
```bash
sudo apt install -y libopenblas-dev cmake
```
###
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.