This project includes example scripts also found in the Get Started and Task Lifecycle pages of the colonyJS Docs. In order to help you hit the ground running with your new project, this starter project includes all of the examples from the docs plus some, and it gives you the opportunity to execute and test those examples with a few simple commands.
- Node 9.10
You may find it helpful to use Node Version Manager (
nvm) to manage node versions.
Globally install the
yarn global add @colony/colony-starter
Open a new terminal window and start Ganache:
Open a new terminal window and deploy the colonyNetwork contracts:
Open a new terminal window and start TrufflePig:
Run Example Script
Open a new terminal window and run the example script:
Run Example Tests
Open a new terminal window and run the example tests: