The port will compile and install photoprism from source on FreeBSD.
This port depends on science/libtensorflow1
You can install it by freebsd ports or build a private copy using poudriere.
AVX2 is required for your CPU.
https://github.com/Gaojianli/photoprism-freebsd-port/releases
git clone https://github.com/huo-ju/photoprism-freebsd-port
cd photoprism-freebsd-port
make && make install
cd photoprism-freebsd-port
git pull
make reinstall clean
If you are using poudriere to build the port, you will need to set the
following in poudriere.conf
:
ALLOW_NETWORKING_PACKAGES="photoprism"
as thedep-js
target downloads node packages.TMPFS_LIMIT
orMFSSIZE
should be at least6
as the build is very large.MAX_MEMORY=16
or more is required for node
photoprism_enable="YES"
photoprism_assetspath="/var/db/photoprism/assets"
photoprism_storagepath="/var/db/photoprism/storage"
photoprism --assets-path=/var/db/photoprism/assets --storage-path=/var/db/photoprism/storage --originals-path=/var/db/photoprism/storage/originals --import-path=/var/db/photoprism/storage/import passwd
service photoprism start