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 all: download clean extract DEBIAN build
# uses 'ar' to make a .deb file build-dep:
raw: download clean extract DEBIAN tar-ar apt install tensorflow # this isn't actually packaged
git clone https://github.com/photoprism/photoprism.git
build-deb: dd photoprism
apt install -y gcc g++ git gnupg make zip unzip git checkout release
pip install tensorflow 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: clean:
rm -rf ../files rm -rf ../files