Add basic instructions
This commit is contained in:
parent
ddd877efb4
commit
c925cc46b5
1 changed files with 17 additions and 1 deletions
18
README.md
18
README.md
|
@ -1,3 +1,19 @@
|
||||||
# photoprism
|
# photoprism
|
||||||
|
|
||||||
Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C.
|
Pyinfra that deploys PhotoPrism un-dockerized. Mostly to be used in LXD/C.
|
||||||
|
|
||||||
|
# Deployment
|
||||||
|
|
||||||
|
```
|
||||||
|
# lxc launch images:debian/11 <name>
|
||||||
|
# lxec exec <name> 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.
|
||||||
|
|
Reference in a new issue