colony-cli
The colony-cli
package is a command line tool for building colonyStarter packages and running services associated with the colonyNetwork smart contracts.
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 using Linux, check out Linux Setup to ensure Yarn and Docker are set up accordingly.
Install
Install the colony-cli
package globally:
yarn global add @colony/colony-cli
Commands
build
Build colonyStarter packages:
colony build [package-name]
service
Start a local test network with Ganache:
colony service start-ganache
Deploy the colonyNetwork smart contracts:
colony service deploy-contracts
Deploy a specific version of the colonyNetwork smart contracts:
colony service deploy-contracts --specific develop
Serve truffle contract data with TrufflePig:
colony service start-trufflepig
Seed the network with with global skills:
colony service seed-network