Hello everyone,
I want to enable a custom ARK minter. I am doing local development using the Archivesspace Docker image.
I read the instructions and comments in the
ark_minter.rb file and I understand the need to enable ARKs and register the new minter ( ArkName.register_minter(:sul_ark_minter, self) ), and to reference it in config.rb (AppConfig[:ark_minter] = :sul_ark_minter). I also understand the need to enable plugins in config.rb file in order for them to be read.
Note that backend/lib/bulk_import is the only directory in backend/lib/ that is loaded by the plugin manager. Other files in backend/lib/ will not be loaded during startup.
The location of the ark_minter.rb file is '/backend/app/lib/ark/ark_minter.rb'. Placing my sul_ark_minter.rb file in the same location locally (and reloading the files and config) is not working -- Archivesspace throws an error:
Exception (Unknown response: {"error":"Couldn't find a minter matching: sul_ark_minter: ...
To sum up my question -- where should I place my custom minter file? Thanks!
Marlo