Files
photoprism-freebsd-port/files/pkg-message.in

24 lines
697 B
Plaintext
Raw Normal View History

2021-01-02 22:36:53 -05:00
[
{ 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
2021-01-02 22:36:53 -05:00
EOM
}
]