Dapp之pet-shop的安装过程(ubuntu)

1、安装node.js和npm,见https://blog.csdn.net/mu66mu/article/details/83621113

2、安装Truffle:    npm install -g truffle

3、安装 Ganache 下载地址:https://github.com/trufflesuite/ganache/releases

   sodu npm install  -g ganache-cli(该版本为命令行版本,图形化版本:Linux: Ganache-*.AppImage)

4、安装编辑器atom

  安装好以上所需的软件后

  建立项目目录并进入

        mkdir pet-shop-tutorial

        cd pet-shop-tutorial

使用truffle unbox创建项目

      turffle unbox pet-shop

参考文档:https://learnblockchain.cn/2018/01/12/first-dapp/

启动ganache命令  ganache -cli -p 7545

猜你喜欢

转载自blog.csdn.net/mu66mu/article/details/83621986