How to replace SRS/SRM modules in Vagrant

It's not clear how to replace SRS/SRM modules in Vagrant, because these projects have submodules and files required to replace generates to different "target" folders.

Step-by-step guide

To replace the module you need to copy mod-source-record-storage(or manager)-server-fat.jar.jar and ModuleDescriptor.json to the same "target" folder:


Then launch script copy_jar_and_deploy.sh from mod-source-record-storage(or manager)-server folder.

In my case:

Code to start replacement
C:/FOLIO/vagrant/deployment_scripts/copy_jar_and_deploy.sh mod-source-record-manager-server-fat.jar mod-source-record-manager

Useful links:

How to add/replace the module in Vagrant box (Docker image from Docker Hub)