Install testrpc
$ npm install -g ethereumjs-testrpc
Install truffle:
$ npm install -g truffle
Install webpack:
$ npm install -g webpack
(OPTIONAL - this takes a while and is not necessary for the rest of the tutorial)
Check if you have solc:
$ which solc
$ brew tap ethereum/ethereum
$ brew install solidity
Run testrpc in one console window:
$ testrpc
In another console window run truffle from project root directory:
$ npm install
$ truffle compile
$ truffle migrate
$ truffle test
$ npm run dev
$ OR: truffle serve // server at localhost:8080