# 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
```

# 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.
