Detailed tutorial here
- npm install dependencies:
npm install --save truffle-hdwallet-provider - Add your wallet mneumonic to truffle.js
- Add your infura key to truffle.js
- Create your contracts in ./contracts
- Deploy your new contract with
truffle deploy --network ropsten - Migrate future contracts with
truffle migrate --network ropsten - Interact with your contracts via
truffle console --network ropsten