From 01ed75f3068cb5a0d18552930f53075013ab1adb Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Thu, 28 Nov 2019 01:57:56 -0800 Subject: [PATCH] Fixed base so it will run on the website Signed-off-by: James Ketrenos --- README.md | 19 +++++++++++++++++++ frontend/slideshow.html | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f6bb5c7..ab7ea08 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,22 @@ +# 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 diff --git a/frontend/slideshow.html b/frontend/slideshow.html index 841f62b..ef4dc7c 100755 --- a/frontend/slideshow.html +++ b/frontend/slideshow.html @@ -1,5 +1,5 @@ - +