Improved installation instructions

This commit is contained in:
Michael Mayer 2018-10-08 07:33:26 +02:00
parent 1cf7d9f01b
commit 68d03c2065

View file

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