INSTRUCTIONS TO RUN DAPP ON GANACHE
Go to the SneakTag-Contract Directory
MAKE SURE THAT GANACHE IS RUNNING ON YOUR SYSTEM
-
open commandline interface
-
RUN command truffle compile
-
RUN command truffle migrate -reset
-
RUN command truffle-export-abi and copy contents of the abi.json file from the builds directory
-
Note the contract address created and copy that too
Go to the SneakTag-DAPP directory Navigate to SRC and in that naivgate to components folder
-
copy the contents of the abi.json from the build directory to the SneakTag.json file inside components file
-
Now in each js file inside the components directory pste the contract address you copied
-
Now from the root directory of SneakTag-DAPP run command npm start
-
The DAPP will open on localhost:3000 from here you can interact with the applicatio