Home | 简体中文 | 繁体中文 | 杂文 | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | Github | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

第 23 章 Hyperledger Explorer

克隆代码

	
git clone https://github.com/hyperledger/blockchain-explorer.git
cd blockchain-explorer
	
	
	

将 fabricexplorer.sql 导入到数据中

	
mysql -u<username> -p < db/fabricexplorer.sql	
	
	

设置 channel 和 数据库连接

	
 "channel": "mychannel",
 "mysql":{
      "host":"127.0.0.1",
      "database":"fabricexplorer",
      "username":"root",
      "passwd":"123456"
   }	
	
	

启动

	
npm install
./start.sh
	
	

进入 Hyperledger Explorer http://localhost:8080/