Files
photoprism-freebsd-port/files/pkg-message.in
huoju c0f0a678c7 Upgrade to 220901-f493607
Yaml config file support in the rc.conf with
photoprism_defaultsyaml=""

upgrade go to 1.19

refactoring the makefile
2022-09-11 01:08:24 -04:00

24 lines
697 B
Plaintext

[
{ type: install
message: <<EOM
You must add the following lines to /etc/rc.conf to enable photoprism:
photoprism_enable="YES"
photoprism_assetspath="%%PHOTOPRISM_DATA_DIR%%/assets"
photoprism_storagepath="%%PHOTOPRISM_DATA_DIR%%/storage"
or add a yaml file for options, if you prefer:
photoprism_defaultsyaml="/usr/local/etc/photoprism/options.yml"
For enable the public mode (no password view):
photoprism_auth_mode="public"
Then set an initial password:
photoprism --assets-path=%%PHOTOPRISM_DATA_DIR%%/assets --storage-path=%%PHOTOPRISM_DATA_DIR%%/storage --originals-path=%%PHOTOPRISM_DATA_DIR%%/sto
rage/originals --import-path=%%PHOTOPRISM_DATA_DIR%%/storage/import passwd
EOM
}
]