Install the required packages and dependencies:
npm install -g ganache-cli
npm install -g truffle
npm install # please make sure you're standing in the repo's folder when running this commandCompile the contracts:
truffle compileThe LOG_LEVEL environment variable in ./config/env.test can be changed to different options to control the log out of the test:
debugto show all debug information during the testinfoto show only info logserrorto show only errors
npm run testOn the 1st terminal (at the root directory), run the local blockchain using Ganache
npm run chainOn the 2nd terminal (at the root directory), deploy the smart contract ecosystem and start the front-end client
npm run deploy
cd client/
yarn startThe front-end can then be accessed using the browser at http://localhost:3000/. Please note that MetaMask or an equivalent wallet software should be installed on the browser in order to interact with the blockchain run by Ganache on localhost. Currently, the front-end has been tested with MetaMask on the Chrome browser (Version 94.0.4606.71).


