Skip to content
A box containing all you need to get started with our Pet Shop tutorial.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
contracts
migrations
src
test
.gitignore
LICENSE
README.md
box-img-lg.png
box-img-sm.png
bs-config.json
package-lock.json
package.json
truffle-box.json
truffle-config.js

README.md

Pet Shop Truffle Box

This box has all you need to get started with our Pet Shop tutorial.

Installation

  1. Install Truffle globally.

    npm install -g truffle
  2. Download the box. This also takes care of installing the necessary dependencies.

    truffle unbox pet-shop
  3. Run the development console.

    truffle develop
  4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle.

    compile
    migrate
  5. Run the liteserver development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.

    // Serves the front-end on http://localhost:3000
    npm run dev

NOTE: This box is not a complete dapp, but the starting point for the Pet Shop tutorial. You'll need to complete that for this to function.

FAQ

You can’t perform that action at this time.