yarn
Install dependencies as described under Install dependencies.
Runs a development Ethereum blockchain network under 127.0.0.1:8545
with the network id 80085
.
yarn ethereum
Additional options: https://github.com/trufflesuite/ganache-cli#using-ganache-cli
Run development ethereum blockchain as described under Runs development ethereum blockchain.
yarn serve
yarn migrate:backend
To migrate to a public network, use the option --network <name>
Note that the respective network configuration must be present inside the truffle-config.js
file.
Additional options: https://truffleframework.com/docs/truffle/reference/truffle-commands#migrate
Due to a limitation by a used Truffle dependency, a development Ethereum blockchain needs to be running:
Run development ethereum blockchain as described under Runs development ethereum blockchain.
yarn build:frontend
Deploys frontend on the Swisscom Application Cloud
Build the frontend as described under Compiles and minifies frontend for production.
Make sure you have access to the application cloud space defined in deploy-frontend.js
or modify it to your needs.
yarn deploy:frontend <environment>
Currently, two environments are available: testing
and production
.
yarn lint:vue
yarn lint:solidity
yarn test:backend
yarn coverage:backend