npm install -g truffle
npm install -g ganache-cli
git clone https://github.com/cites-on-blocks/cites-on-blocks_dapp
cd cites-on-blocks_dapp
npm install
ganache-cli -b 3
// if outside truffle console
truffle compile
truffle migrate
// if inside truffle console compile migrate
3. Run the front-end webpack server with hot reloading. Serves front-end on http://localhost:3000
npm run start
## Testing
1. Test smart contracts
// if outside truffle console truffle test
// if inside truffle console test
2. Test React components using Jest
npm run test
## Build
1. Build application for producation in build_webpack folder
npm run build