reference:
1.安装 Truffle | Truffle 中文文档 - DApp 开发框架 | 深入浅出区块链 (learnblockchain.cn)
2.Truffle & Web3.js 教程:教你开发、部署第一个去中心化应用(Dapp) - 宠物商店 | 登链社区 | 区块链技术社区 (learnblockchain.cn)
3.Truffle Tutorials - Pet Shop Tutorial - Truffle Suite
4.win7下以太坊基于truffle+ganache开发环境搭建以及智能合约的部署调用 - shall1995 - 博客园 (cnblogs.com)