mirror of
https://github.com/huo-ju/photoprism-freebsd-port.git
synced 2025-12-10 17:00:22 +01:00
main
…
The photoprism port for FreeBSD
The port will compile and install photoprism from source on FreeBSD.
Dependencies
This port depends on science/libtensorflow1
You can install it by freebsd ports or build a private copy using poudriere.
If you need pre-built binaries you can use this repo
AVX2 is required for your CPU.
https://github.com/Gaojianli/photoprism-freebsd-port/releases
Install using ports
Download and Install
git clone https://github.com/huo-ju/photoprism-freebsd-port
cd photoprism-freebsd-port
make && make install
Upgrade from an old version
cd photoprism-freebsd-port
git pull
make reinstall clean
Poudriere
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-jstarget downloads node packages.TMPFS_LIMITorMFSSIZEshould be at least6as the build is very large.MAX_MEMORY=16or more is required for node
Add entries to rc.conf
photoprism_enable="YES"
photoprism_assetspath="/var/db/photoprism/assets"
photoprism_storagepath="/var/db/photoprism/storage"
Set an initial admin password (fresh install)
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
Run the service
service photoprism start
Go to http://your_server_IP_address:2342/ in your browser
Description
Languages
Makefile
40.4%
Shell
40%
Starlark
19.6%