| 知乎專欄 | 多維度架構 | | | 微信號 netkiller-ebook | | | QQ群:128659835 請註明“讀者” |
克隆代碼
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/