-
Install Truffle globally.
npm install -g truffle
-
Migrate the smart contracts.
truffle migrate --reset
-
Run the
liteserver
development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.// Serves the front-end on http://localhost:3000 npm run dev
1) Enter UID number to login. (Default 1111111111 or 2222222222)
2) Select candidate of choice and vote.
3) Goto url http://localhost:3000/results.html to view results.