- Node
>=10.13.0
- Yarn
>=1.12.0
- Docker
>=18.09.0
You may find it helpful to use Node Version Manager (nvm
) to manage Node versions.
If you are a Linux user, check out the Linux Setup page to ensure Yarn and Docker are set up accordingly.
Install dependencies for all packages:
yarn
Start a local test network with Ganache:
yarn start-ganache
Open a new terminal window and deploy contracts with Truffle:
yarn deploy-contracts
Open a new terminal window and connect to the deployed contracts with TrufflePig:
yarn start-trufflepig
Open a new terminal window and run the tests for all packages:
yarn test
Open a new terminal window and test install a package:
yarn colony build [package-name]
Update package versions and publish packages independently:
yarn lerna publish