<< < 16 17 18 19 20 21 22 23 24 25 26 > >>   Sort: Rank

"docker-compose up" Command - Start the Network
How to run "docker-compose up" command to deploy and start containers to run BYFN (Build Your First Network)? You can follow this tutorial to run "docker-compose up" command to deploy and start containers to run BYFN. $ cd hyperledger-binaries/fabric-sa mples/first-network$ docker-compose -f docker-...
2020-10-20, 1422🔥, 0💬

"configtxgen" Command - Build genesis.block
How to run "configtxgen" command to build the orderer genesis block for BYFN (Build Your First Network)? You can follow this tutorial to run "configtxgen" command to build Orderer Genesis Block for BYFN. The "configtxgen" command file is located in the ../bin directory. It takes the configtx.yaml fi...
2020-10-20, 1195🔥, 0💬

"configtxgen" Command - Build channel.tx
How to run "configtxgen" command to build a transaction message to create the channel in BYFN (Build Your First Network)? You can follow this tutorial to run "configtxgen" command to build a transaction message to create the channel in BYFN. The "configtxgen" command file is located in the ../bin di...
2020-10-20, 1053🔥, 0💬

"configtxgen" Command - Build *MSPanchors.tx
How to run "configtxgen" command to build a transaction message to define the anchor peer in each organization in BYFN (Build Your First Network)? You can follow this tutorial to run "configtxgen" command to build a transaction message to define the anchor peer in each organization in BYFN. The "con...
2020-10-20, 949🔥, 0💬

BYFN docker-compose-cli.yaml Configuration File
What is the docker-compose-cli.yaml Configuration File used in BYFN (Build Your First Network)? The docker-compose-cli.yaml Configuration File provides settings on Docker containers to run the BYFN network. Here is the default copy of docker-compose-cli.yaml provided in BYFN: # SPDX-License-Identifi...
2020-10-20, 917🔥, 0💬

BYFN Error - "unable to bootstrap orderer"
Why am I getting the "panic: unable to bootstrap orderer. Error reading genesis block file: read /var/hyperledger/orderer/order er.genesis.block:is a directory" error? When you build and deploy your BYFN network manually, you may end up missing the genesis.block file. Try to run the "docker-compose ...
2020-10-10, 1841🔥, 0💬

BYFN CLI Container "peer" Command
What is the BYFN (Build Your First Network) CLI Container "peer" Command? If you have the BYFN CLI container running, you can use it to run the "peer" command to manage your BYFN network. 1. Start the CLI container and connect to it: $ docker start cli cli $ docker exec -it cli bash bash-4.4# 2. Run...
2020-10-10, 1455🔥, 0💬

"docker exec -it cli bash" - BYFN CLI Shell
How to run "docker exec -it cli bash" command to run a shell script window in the BYFN (Build Your First Network) CLI Docker Container? The BYFN (Build Your First Network) CLI Docker Container is a command line service door to manage your BYFN network. You can run it and connect to it as shell scrip...
2020-10-10, 1082🔥, 0💬

"docker start/stop" - Start and Stop Docker Containers
How to run "docker start/stop" - Start and Stop Docker Containers for BYFN (Build Your First Network)? If you have your BYFN Docker containers deployed to the Docker Engine, you can use the "docker start/stop" command to manage them. 1. Look at the status of all deployed Docker containers: $ docker ...
2020-10-10, 1009🔥, 0💬

BYFN CLI Container Missing Admin Certificates
How to fix the ".../org1.example.com/users/Ad min@org1.example.com/mspdoes not exist" when running the BYFN CLI "peer" command? When you build your BYFN network manually, you may end up missing admin user certificate on the CLI Docker container. 1. Check the certificate directory for the org1.exampl...
2020-10-10, 899🔥, 0💬

Invoke Chaincode Transaction on BYFN Channel
How to Invoke Chaincode Transaction on BYFN Channel? An instance of a chaincode can be viewed as an object of a class in an execution environment. It can hold transaction operations to manage its properties. You can run the "peer chaincode invoke" command to invoke the "Invoke" operation of a given ...
2020-09-30, 1052🔥, 0💬

Query Chaincode Property on BYFN Channel
How to Query Chaincode Property on BYFN Channel? An instance of a chaincode can be viewed as an object of a class in an execution environment. It can hold properties. You can run the "peer chaincode query" command to query the current value of a given property of a given chaincode instance. 1. Verif...
2020-09-30, 991🔥, 0💬

CORE_PEER_* Environment Variables on BYFN CLI
What is the default peer and how to change it on the BYFN CLI container? On the BYFN CLI container, you can manage other peer nodes with the "peer" command. When you run a "peer" command, it will connect to the default peer node define by these environment variables: CORE_PEER_ADDRESS=peer0.org1.e xa...
2020-09-30, 976🔥, 0💬

Switch Default Peer on BYFN CLI Container
How to switch the default peer on BYFN CLI Container? I want to join peer0.org2.example.com to the channel. You can follow this tutorial to switch the default peer to peer0.org2.example.com and join it to BYFN "mychannel" channel. 1. Switch the default peer by changing environment variables: bash-4....
2020-09-30, 960🔥, 0💬

Join Peer to BYFN Network Channel
How to join the default peer to a BYFN network Channel? You can follow this tutorial to join the default peer to a BYFN network Channel. In last tutorial, we have created a transaction file, channel.tx, that contains a transaction message to create a channel called "mychannel" on the BYFN network. N...
2020-09-30, 910🔥, 0💬

Uninstall Chaincode on BYFN Peers
How to uninstall chaincodes on BYFN Peers? Unfortunately, the BYFN CLI "peer chaincode" command does offer any option to uninstall chaincodes from a given peer. You have two options when your chaincodes from different peers are out of sync or incompatible: 1. Destroy chaincode instance and re-instal...
2020-09-15, 1007🔥, 0💬

BYFN Chaincode Docker Container
What is the BYFN chaincode Docker container? The BYFN chaincode Docker container represents the running instance of the "mycc" chaincode. When "mycc" chaincode is instantiated from peer0.org1, a chaincode Docker container (shim) is deployed and started on the Docker engine. You can find chaincode co...
2020-09-15, 955🔥, 0💬

BYFN CLI "peer" Command Prefix
How to use BYFN CLI "peer" Command Prefix? By default, when you run the "peer" command on the BYFN CLI container, it will be executed again the default peer node specified by 4 environment variables: CORE_PEER_MSPCONFIGPATH=/opt/g opath/.../org1.example.com/use rs/Admin@org1.example.com/mspCORE_PEER_...
2020-09-15, 929🔥, 0💬

Incompatible Chaincode on BYFN Peers
How to list installed and instantiated chaincodes on BYFN Peers? You can follow this tutorial to list and review installed and instantiated chaincodes on peer nodes of your BYFN network. 1. Connect to the BYFN CLI container and check the default peer: $ docker exec -it cli bash bash-4.4# echo $CORE_...
2020-09-15, 891🔥, 0💬

Upgrade Chaincode Instance on BYFN
How to upgrade chaincode instance on BYFN? You can follow this tutorial to upgrade the chaincode instance on BYFN. You can use this process to fix any issues with chaincode instance without destroy its data. 1. Install new version, 2.0, of the chaincode on the default peer, peer0.org1. bash-4.4# ech...
2020-09-12, 967🔥, 1💬

Build and Run Python Hello Website Image
How to build a Hello Website Docker image using the Python base image? I have the Dockerfile ready. If you have the Dockerfile ready as shown in the last tutorial, you continue to build a new Docker image and run it. 1. Build the new image. fyicenter$ docker image build --tag python-web . Step 1/7 :...
2020-08-25, 1132🔥, 0💬

Test Python Hello Website Container
How to test the Python Hello Website Container? I have it running now. If you have the Python Hello Website Container running as shown in the last tutorial, you continue to test it. 1. Check the container status: fyicenter$ docker container list CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS 7da8f1...
2020-08-25, 1108🔥, 0💬

Requirements to Python Hello Website Image
What are the requirements to build a Hello Website Docker image using the Python base image? If you want to build simple Hello Website Docker image using a Python script, you need to prepare the following required files. 1. Create the Hello Website Python script. fyicenter$ mkdir python fyicenter$ c...
2020-08-25, 1090🔥, 0💬

HTML resources?
Hi there, I know you're busy, so I'll keep it short and sweet :) I've just built a nice little tool called 'HTML5 Periodic Table'. It's incredibly useful for any developer using HTML and the great thing is that anyone in your audience can use it anytime they want for absolutely zero cost! Naturally,...
2020-08-25, 959🔥, 0💬

<< < 16 17 18 19 20 21 22 23 24 25 26 > >>   Sort: Rank