Skip to content

NFhbar/truffle-ci-box

Repository files navigation

Truffle CI Box

Build Status Coverage Status contributions welcome

This box comes with everything you need to start a truffle project with Travis-ci and Coveralls integration. It also includes solium, eslint, and several common testing helpers.

Installation

  1. Install Truffle and Ganache CLI globally.

    npm install -g truffle
    npm install -g ganache-cli
  2. Download the box.

    truffle unbox NFhbar/truffle-ci-box
  3. Create a .env file in the root directory and add your private key.

    RINKEBY_PRIVATE_KEY="MyPrivateKeyHere..."
    ROPSTEN_PRIVATE_KEY="MyPrivateKeyHere..."
    
  4. Update the Travis and Coveralls badges in the README file to point to your own repository.

  5. Change any lint or solium rules that you like, and feel free to modify the scripts or anything else you want!