A tutorial for setting up a Dapp development environment and using truffle framework written in Solidity.
http://truffleframework.com/tutorials/pet-shop
-
Install Truffle via npm
npm install -g truffle -
Compile example smart contracts
truffle compile -
Deploy example smart contracts
truffle migrate -
Test the smart contract
truffle test -
Start the local web server
npm run dev