Guest User

Untitled

a guest
Dec 15th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. # Install Truffle globally
  2. npm install -g truffle
  3.  
  4. # Download the box. This also takes care of installing the necessary dependencies
  5. truffle unbox react
  6.  
  7. # Run the development console
  8. truffle develop
  9.  
  10. # Compile and migrate the smart contracts
  11. compile
  12. migrate
  13.  
  14. # Run webpack server for front-end
  15. # Smart contract changes must bemanually recompiled and migrated
  16. npm run start
  17.  
  18. # Run Truffle tests
  19. truffle test
  20.  
  21. # test React components
  22. npm run test
  23.  
  24. # Production build of React app
  25. npm run build
Add Comment
Please, Sign In to add comment