From 68d03c2065ac03143cdb1521c42641d97f6c2f76 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 8 Oct 2018 07:33:26 +0200 Subject: [PATCH] Improved installation instructions --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5ad11f412..67444b849 100644 --- a/README.md +++ b/README.md @@ -44,21 +44,23 @@ Developers can skip this and move on to the [Developer Guide](https://github.com ```yaml volumes: - - ~/Photos:/Photos # change ~/Photos to whatever directory you want to use on your local computer + - ~/Photos:/Photos ``` PhotoPrism will create the following sub-directories in your photo path: `Import`, `Export` and `Originals`. Copy existing photos to `Import`, not directly to `Originals` as they need to be renamed and indexed in order to remove duplicates. +Files that can not be imported - like videos - will stay in the `Import` directory, nothing gets lost. **Step 2:** Start PhotoPrism using `docker-compose` in the same directory: -``` +```console docker-compose up -d ``` -**Step 3:** The Web frontend is now available at http://localhost/. The port can be changed in `docker-compose.yml` if needed. Remember to run `docker-compose restart` every time you change the config. -Open a terminal to to import photos: +The Web frontend is now available at http://localhost/. The port can be changed in `docker-compose.yml` if needed. Remember to run `docker-compose restart` every time you change the config. -``` +**Step 3:** Open a terminal to import photos: + +```console docker-compose exec photoprism bash ./photoprism import ```