npm install
node_modules/.bin/ganache-cli
Clone repository and run
npm install
Then launch the testpc server with
npm run ganache
and from a separate shell
npm run cli
Then point your browser to http://localhost:8000
for the web version of the voting app.
The cli.js
file includes the smart contract setup and deployment.
After having launched ganache
, launch:
npm test