In order to build our dApp, we need a few dependencies first.
- Truffle Framework:
npm install -g truffle
- Ganache:
- Metamask:
First of all, open Ganache and configure MetaMask in Chrome, then run the following commands in the command line:
-
Dependencies:
cd client && npm install && cd ..
-
Compile:
truffle compile
-
Migrate:
truffle migrate
-
Run dev server:
npm run start