- Go to project folder and create a configuration file .env following template .env.example:
cp .env.example .env && vi .env
- Install dependencies :
npm install
- Launch development task in order to deploy on blockchain (ethereum) new version of contracts:
npm start development
build/ Local storage for deployed contracts.
contracts/ Contracts source code
migrations/ Truffle migrations scripts
Task automation is based on NPM scripts.
Task | Description |
---|---|
npm start development |
Launch development task in order to deploy on blockchain |
npm start export |
Copy build contracts to app & cli projects |