We implemented all the models, transactions, and query functions in the previous recipe. It is now time for us to deploy the application to the Fabric network.
Deploying, testing, and exporting business network archives using the Composer command-line interface
Getting ready
There are multiple ways to do this. In the Playground, there is an option to export a file as a .bna file. We can then upload the .bna file to Ubuntu server to begin deployment. We can also update all related files in the Ubuntu server's farmatrace-network folder, including logic.js, permissions.acl, org.packt.farmatrace.cto, and queries.qry, and then manually generate a .bna file.