# Pet Shop Truffle Box
This box has all you need to get started with our [Pet Shop tutorial](http://truffleframework.com/tutorials/pet-shop).
## Installation
1. Install truffle and an ethereum client. For local development, try EthereumJS TestRPC.
```javascript
npm install -g truffle // Version 3.0.5+ required.
npm install -g ethereumjs-testrpc
```
2. Download box.
```javascript
truffle unbox pet-shop
```
3. Compile and migrate the contracts.
```javascript
truffle compile
truffle migrate
```
4. Run the `liteserver` development server for front-end hot reloading. For now, smart contract changes must be manually recompiled and migrated.
```javascript
npm run dev
```
**NOTE**: This box is not a complete dapp, but the starting point for the [Pet Shop tutorial](http://truffleframework.com/tutorials/pet-shop). You'll need to complete that for this to function.
没有合适的资源?快使用搜索试试~ 我知道了~
区块链系统源代码
共29个文件
js:6个
json:4个
jpeg:4个
1星 需积分: 48 117 下载量 43 浏览量
2018-03-22
13:27:36
上传
评论 7
收藏 507KB ZIP 举报
温馨提示
区块链系统源代码,
资源推荐
资源详情
资源评论
收起资源包目录
区块链系统源代码.zip (29个子文件)
区块链系统源代码
package.json 331B
truffle.js 154B
test
.gitkeep 0B
from.gif 5KB
bs-config.json 68B
truffle-box.json 270B
src
css
bootstrap.min.css 118KB
bootstrap.min.css.map 529KB
images
scottish-terrier.jpeg 36KB
golden-retriever.jpeg 32KB
french-bulldog.jpeg 21KB
boxer.jpeg 22KB
fonts
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.woff2 18KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.svg 106KB
index.html 2KB
js
web3.min.js 138KB
truffle-contract.js 253KB
bootstrap.min.js 36KB
app.js 1KB
pets.json 3KB
migrations
1_initial_migration.js 129B
contracts
Migrations.sol 493B
.gitkeep 0B
box-img-lg.png 58KB
README.md 930B
box-img-sm.png 7KB
共 29 条
- 1
资源评论
- 小娜所谓事实上2018-07-12不是我想要的哇
afafegdgsdafaefe
- 粉丝: 1
- 资源: 24
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功