From c925cc46b5b9beddf19827d950fe7e6893691242 Mon Sep 17 00:00:00 2001 From: Benoit S Date: Sun, 26 Sep 2021 14:18:04 +0900 Subject: [PATCH] Add basic instructions --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f559a2..86f6562 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # photoprism -Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C. \ No newline at end of file +Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C. + +# Deployment + +``` +# lxc launch images:debian/11 +# lxec exec bash +# apt update && apt install python3-pip git +# pip install pyinfra +# git clone https://git.benpro.fr/benoit/photoprism.git +# cd photoprism +# pyinfra @local deploy.py +``` + +# Attach a pictures volume + +If required, you can mount an external volume.