hyperledger-labs / blockchain-carbon-accounting

This project implements blockchain applications for climate action and accounting, including emissions calculations, carbon trading, and validation of climate claims. It is part of the Linux Foundation's Hyperledger Climate Action and Accounting SIG.
https://wiki.hyperledger.org/display/CASIG/Carbon+Accounting+and+Certification+WG
Apache License 2.0
192 stars 104 forks source link

Get the blockchain network up and running issue #13

Closed rybalko closed 3 years ago

rybalko commented 4 years ago

I've found one strange issue, utils in the utility-emissions-channel/docker-compose-setup/bin/ are not linux execute binary files. For example bash: ./peer: cannot execute binary file: Exec format error So I get same utils from https://github.com/hyperledger/fabric.git fabric/scripts/fabric-samples/bin/ put them into utility-emissions-channel/docker-compose-setup/bin1/ changed utility-emissions-channel/docker-compose-setup/network.sh to use it export PATH=${PWD}/bin1:$PATH and ./network.sh up createChannel worked after those changes

lamnd09 commented 3 years ago

I also got the same problem with Linux. But it works with the macOS. My solution is similar to @rybalko.

udosson commented 3 years ago

Any suggestions on what we should do about this?

sichen1234 commented 3 years ago

I think we've solved it now during the docker deploy setup. We can close it now.