npm install npm run postinstall
Truffle v5.1.10 (core: 5.1.10) Solidity - ^0.4.24 (solc-js) Node v10.18.0 Web3.js v1.2.1
This repository contains Smart Contract code in Solidity (using Truffle), tests (also using Truffle), dApp scaffolding (using HTML, CSS and JS) and server app scaffolding.
To install, download or clone the repo, then:
npm install
truffle compile
To run truffle tests:
truffle test ./test/test.js
To use the dapp:
truffle migrate
npm run dapp
To view dapp:
http://localhost:8000
To build dapp for prod:
npm run dapp:prod
Deploy the contents of the ./dapp folder
cd to src/app and run npm start