build notes for photoprism
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
4400093481
commit
90c36902db
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue