minifab: add page (#5030)

* minifab: add page

* minifab: italian translation
This commit is contained in:
Mattia Righetti
2021-01-01 23:29:19 +01:00
committed by GitHub
parent 66da99825c
commit f8f1570936
2 changed files with 72 additions and 0 deletions

36
pages/common/minifab.md Normal file
View File

@@ -0,0 +1,36 @@
# minifab
> Utility tool that automates the setup and deployment of Hyperledger Fabric networks.
> More information: <https://github.com/hyperledger-labs/minifabric>.
- Bring up the default Hyperledger Fabric network:
`minifab up -i {{minifab_version}}`
- Bring down the Hyperldger Fabric network:
`minifab down`
- Install chaincode onto a specified channel:
`minifab install -n {{chaincode_name}}`
- Install a specific chaincode version onto a channel:
`minifab install -n {{chaincode_name}} -v {{chaincode_version}}`
- Initialize the chaincode after installation/upgrade:
`minifab approve,commit,initialize,discover`
- Invoke a chaincode method with the specified arguments:
`minifab invoke -n {{chaincode_name}} -p '"{{method_name}}", "{{arg0}}", "{{arg1}}", ...'`
- Make a query on the ledger:
`minifab blockquery {{block_number}}`
- Quickly run an application:
`minifab apprun -l {{app_programming_langauge}}`