Skip to content

steffenfritz/photoprism-freebsd-port

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The photoprism port for FreeBSD

The port will compile and install libtensorflow 1.15.2 and build photoprism from source on FreeBSD.

If you need pre-built binaries you can use this repo

https://github.com/psa/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 config
make && make install

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 the dep-js target calls npm audit fix.
  • TMPFS_LIMIT or MFSSIZE should be at least 6 as the build is very large.
  • MAX_MEMORY=8 or more is required for bazel

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

About

The photoprism port for FreeBSD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Makefile 70.5%
  • Shell 29.5%