For the Blockchain for Social Impact Hackathon
-
Clone repository and download dependencies
git clone https://github.com/davila9210/SmartCharge.git npm install
-
Install truffle and an ethereum client. For now, use TestRPC
npm install -g truffle // Version 3.0.5+ required. npm install -g ethereumjs-testrpc
-
Run TestRPC
testrpc -
Compile and migrate the contracts.
truffle compile truffle migrate
-
Run the webpack server
npm run start
You're now running your own demo of smart charge!
Ask David Lamers - [email protected]