$ npm install
$ truffle compile
$ truffle test
$ truffle migrate
Due to a bug of truffle we cannot debug smart contract with multi files but we can use truffle-flattener(https://www.npmjs.com/package/truffle-flattener) merge all contracts into a single file and debug it on https://remix.ethereum.org IDE instread.
truffle-flattener contracts/*.sol > ~/carboneum-flattened.sol