Tools, FAQ, Tutorials:
Revise Business Network Source Code
How to manage revisions of my Business Network?
✍: FYIcenter.com
You can follow this tutorial to learn how to manage
revisions of my Business Network properly.
1. Do not delete NBA files. They contains copies of source files of your business network. You should keep them as backups.
$ cd tutorial-network $ ls -l *.bna -rw-rw-r-- 1 fyicenter 6163 Apr 1 13:00 tutorial-network@0.0.1.bna -rw-rw-r-- 1 fyicenter 6163 Apr 1 13:04 tutorial-network@0.0.2.bna
2. Increase the version number in "package.json" file.
$ vi package.json
{
"engines": {
"composer": "^0.20.8"
},
"name": "tutorial-network",
"version": "0.0.3",
...
}
3. Create a new BNA file for the new version.
4. Deploy the new version to the Hyperledger Fabric environment.
5. Upgrade the business network to the new version on the Hyperledger Fabric environment.
Â
⇒ Hyperledger Composer Playground Server
⇠"composer network" Commands
2020-12-26, ∼1077🔥, 0💬
Popular Posts:
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How to pull NVIDIA CUDA Docker Image with the "docker image pull nvidia/cuda" command? If you are ru...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
Why am I getting this "Docker failed to initialize" error? After installing the latest version of Do...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...