Files
photoprism-freebsd-port/README.md

37 lines
919 B
Markdown
Raw Normal View History

2021-01-02 22:36:53 -05:00
# The photoprism port for FreeBSD
The port will compile and install [libtensorflow](https://www.tensorflow.org/install/lang_c) 1.15.2 and build [photoprism](https://github.com/photoprism/photoprism) from source on FreeBSD.
## Install using ports
# Download and Install
```
git clone https://github.com/huo-ju/photoprism-freebsd-port
cd photoprism-freebsd-port
2021-01-03 03:32:31 -05:00
make config
2021-01-02 22:36:53 -05:00
make && make install
```
# Add entries to rc.conf
```
photoprism_enable="YES"
photoprism_assetspath="/var/photoprism/assets"
photoprism_storagepath="/var/photoprism/storage"
```
2021-01-17 03:54:50 -05:00
# Set an initial admin password (fresh install)
```
photoprism --assets-path=/var/photoprism/assets --storage-path=/var/photoprism/storage --originals-path=/var/photoprism/storage/originals --import-path=/var/photoprism/storage/import passwd
```
2021-01-02 22:36:53 -05:00
# Run the service
```
service photoprism start
```
# Go to http://your_server_IP_address:2342/ in your browser