build notes for photoprism

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-01-29 00:32:45 -06:00
parent 4400093481
commit 90c36902db
1 changed files with 10 additions and 6 deletions

View File

@ -10,12 +10,16 @@ help:
all: download clean extract DEBIAN build
# uses 'ar' to make a .deb file
raw: download clean extract DEBIAN tar-ar
build-deb:
apt install -y gcc g++ git gnupg make zip unzip
pip install tensorflow
build-dep:
apt install tensorflow # this isn't actually packaged
git clone https://github.com/photoprism/photoprism.git
dd photoprism
git checkout release
sudo make all
sudo ./scripts/build.sh prod /opt/photoprism/bin/photoprism
sudo cp -a assets/ /opt/photoprism/assets
# now follow instructions for adduser, postgresql, etc:
# https://github.com/IndrekHaav/photoprism-debian
clean:
rm -rf ../files