WORK IN PROGRESS
A dApp to help you become a more fantastic version of you!
You can find a detailed design wiki here.
git clone
npm install truffle -g
npm install ganace-cli -g
cd /into/project/root
npm install
. Creates node_modules directorytruffle install
. Creates installed_contracts directory
- In terminal
ganache-cli
. Leave terminal tab open - In browser, login to Metamask with the seed phrase on
http://127.0.0.1:8545
, and verify accounts created match what's shown. - In another terminal
cd path/to/project
truffle compile
. Will compile all contracts and create build directorytruffle migrate --reset --network local
. Will deploy all contracts to your locally running chaintruffle test ./test/[fileName].js
. Will test all functions in that filetruffle test
. Will run all testsnpm run start
. Serves up UI on localhost:3000
- If you have problems, delete
/build
and maybe/node_modules
and re-run the steps above.\ - If you have problems logging in from UI using uport:
- Check the console log of the browser: If the error is related to JWT timestamp - try updating your UPort app and try again. Not much documentation on this, but here is a ref. This issue has been intermittent.