Make sure ganache and truffle are installed globally.
npm install -g ganache-clinpm install -g truffleOpen a terminal window and start up the local private blockchain using ganache-cli.
ganache-cli --account='0x60cd6638b6578d0bced19e5d8673da8d3a148136e914ea442b1cc9fd0970a2, 10000000000000000000000000' '0xd8e70f46bcdd6c0437779bad4b927cb9160490620e7c69d9c26dbf7ddbf69701, 10000000000000000000000000'Open a new terminal tab, navigate to the root directory, and run:
npm installAfter all the node packages are installed, enter the following commands to build, migrate, and test the truffle project.
truffle buildtruffle migrate --resettruffle test