Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 1.16 KB

DEVELOPMENT.md

File metadata and controls

67 lines (42 loc) · 1.16 KB

Development

Prerequisites

  • Node >=10.12.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

Install dependencies for all packages:

yarn

Start Network

Start a local test network with Ganache:

yarn start-ganache

Deploy Contracts

Open a new terminal window and deploy contracts with Truffle:

yarn deploy-contracts

Start TrufflePig

Open a new terminal window and connect to the deployed contracts with TrufflePig:

yarn start-trufflepig

Run Tests

Open a new terminal window and run the tests for all packages:

yarn test

Test Install Package

Open a new terminal window and test install a package:

yarn colony build [package-name]

Publish Packages

Update package versions and publish packages independently:

yarn lerna publish