P2P EV Charging web platform built on top of Ethereum smart contracts
- Install truffle using
npm install -g truffle
- Install ganache-cli using
npm install -g ganache-cli
- Install MetaMask on your chrome extension
- Run
ganache-cli
in your terminal, make sure it's running on port 8545 - Copy the mnemonics generated by ganache-cli and use that to register in MetaMask
- On MetaMask extension, switch network to Localhost 8545
- On terminal, navigate to the directory that you clone the repository and run
truffle build
truffle compile
truffle migrate
- On terminal, go into the client/ folder and run
npm install
npm run start
- The web application will be running on localhost:3000
Note: You can change the account on metamask to test different users