A few minor tweaks

This commit is contained in:
Indrek Haav 2022-11-22 12:45:17 +02:00 committed by GitHub
parent 4410f1cc56
commit d73d9fc6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,6 @@ Then run the following commands to download the various dependencies for Tensorf
$ sudo make all
$ sudo ./scripts/build.sh prod /opt/photoprism/bin/photoprism
$ sudo cp -a assets/ /opt/photoprism/assets/
$ sudo chown -R photoprism:photoprism /opt/photoprism
```
The dependencies step can produce errors when running in shells like ZSH. Ensure you're using Bash if this happens.
@ -183,9 +182,10 @@ PHOTOPRISM_IMPORT_PATH="/var/lib/photoprism/photos/Import"
# PHOTOPRISM_DATABASE_PASSWORD="PASSWORD"
```
Press `Ctrl+O` and `Enter` to save, then `Ctrl+X` to exit Nano. Now enter the following command:
Press `Ctrl+O` and `Enter` to save, then `Ctrl+X` to exit Nano. Now enter the following commands:
```shell
$ sudo chown photoprism:photoprism .env
$ sudo chmod 640 .env
```