Index
b"# React Web3 Redux Todo Truffle Box\n\nThis box comes with everything you need to start using smart contracts from a react app. This is as barebones as it gets, so nothing stands in your way.\n\n## Installation\n\n1. Install Truffle and an Ethereum client. For local development, try EthereumJS TestRPC.\n ```javascript\n npm install -g truffle // Version 3.0.5+ required.\n npm install -g ethereumjs-testrpc\n ```\n\n2. Unbox in the project directory. This will also install the dependencies.\n ```javascript\n truffle unbox shanejonas/react-box-web3-todo.git\n ```\n\n3. Compile and migrate the contracts.\n ```javascript\n truffle compile\n truffle migrate\n ```\n\n4. Run the webpack server for front-end hot reloading. For now, smart contract changes must be manually recompiled and migrated.\n ```javascript\n npm run start\n ```\n\n5. Jest is included for testing React components and Truffle's own suite is included for smart contracts. Be sure you've compile your contracts before running jest, or you'll receive some file not found errors.\n ```javascript\n // Runs Jest for component tests.\n npm run test\n\n // Runs Truffle's test suite for smart contract tests.\n truffle test\n ```\n\n6. To build the application for production, use the build command. A production build will be in the build_webpack folder.\n ```javascript\n npm run build\n ```\n\n## FAQ\n\n* __Why is there both a truffle.js file and a truffle-config.js file?__\n\n Truffle requires the truffle.js file be named truffle-config on Windows machines. Feel free to delete the file that doesn't correspond to your platform.\n\n* __Where is my production build?__\n\n The production build will be in the build_webpack folder. This is because Truffle outputs contract compilations to the build folder.\n\n* __Where can I find more documentation?__\n\n This Truffle Box is a marriage of [Truffle](http://truffleframework.com/) and a React setup created with [create-react-app](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md). Either one would be a great place to start!\n"