# "local" is for Unix domain socket connections only
local allall trust
# IPv4 local connections:
host allall127.0.0.1/32 trust
# IPv6 local connections:
host allall ::1/128 trust
# Allow replication connections from localhost, by a user with the# replication privilege.#local replication all peer#host replication all 127.0.0.1/32 ident#host replication all ::1/128 ident
host allall0.0.0.0/0 trust
3、开始启动hyperledger-explorer
打开一个控制台:
cd blockchain-explorer
(修改config.json中对应的ip、配置文件路径、通道名称、数据库连接名称密码ip等)
再打开一个控制台:
cd blockchain-explorer/app/test
npm install
npm run test
cd blockchain-explorer
npm install
cd client/
npm install
npm test -- -u --coverage
npm run build
再打开一个控制台:
cd blockchain-explorer/
./start.sh (it will have the backend up).
tail -f log.log (view log)