区块链大项目 fisco-bcos
iview admin为我的项目前端(使用iview admin模板),server为我的后端。
我的sol文件在/server/packages/cli/contracts/SupplyChain1.sol
- 启动链端
-
按照 官网教程安装nodejs sdk,对证书配置路径进行修改。
-
在server文件夹下执行:
npm config set registry https://registry.npm.taobao.org //替换为淘宝镜像,速度快 //下载依赖 npm install npm run repoclean npm run bootstrap
-
进入clis文件夹,运行指令
node app.js
-
web-front文件夹运行指令
npm install npm run dev