Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Install Truffle globally
- npm install -g truffle
- # Download the box. This also takes care of installing the necessary dependencies
- truffle unbox react
- # Run the development console
- truffle develop
- # Compile and migrate the smart contracts
- compile
- migrate
- # Run webpack server for front-end
- # Smart contract changes must bemanually recompiled and migrated
- npm run start
- # Run Truffle tests
- truffle test
- # test React components
- npm run test
- # Production build of React app
- npm run build
Add Comment
Please, Sign In to add comment