Skip to content

huo-ju/photoprism-freebsd-port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 the dep-js target downloads node packages.
  • TMPFS_LIMIT or MFSSIZE should be at least 6 as the build is very large.
  • MAX_MEMORY=16 or 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

About

The photoprism port for FreeBSD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published