Core subsystem contain the application logic of the system, it's a standalone program that can be executed in Ethereum platform.
On the backend/
folder run:
truffle compile
On the backend/
folder run:
truffle test
- Prepare Development platform with Geth, (tutorial)[https://medium.com/coinmonks/how-to-create-your-own-private-ethereum-blockchain-137ab15989c6]
- Add running geth address by typing
export ADV_HOST="https://<IP_ADDRESS>:<PORT>/"
on your terminal - Add your existing Ethereum account on running geth with private key, command:
export ETH_PRIVATE_KEY="<private_key>"
- Edit the runner script in
backend/performance_test/runner.sh
to fit your requirement - Run the test script by running
./performnce_test/runner.sh
frombackend/
folder
- On local ganache:
truffle migrate --reset --compile-all
- On geth:
truffle migrate --network advanced --reset --compile-all
Web subsystem is the default interface to access the Core, built the web after the Core subsystem running.
Contained in the pacakge.json:
yarn
yarn start
yarn build
After the build finished, you can run the web on any static web server.