Follow the steps below to download, install, and run this project in the local environment.
Install these prerequisites in order to validate and run the project.
- NPM: https://nodejs.org
- Truffle: https://github.com/trufflesuite/truffle
- Ganache: http://truffleframework.com/ganache/
- Metamask: https://metamask.io/
git clone https://github.com/Prince269090/permission-master
$ npm install
Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.
$ truffle migrate --reset
You must migrate the smart contract each time your restart ganache.
$ truffle test