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.