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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue