Dependencies

  • NodeJS
    • OS X - brew install node (requires Homebrew)
    • Linux - Typically available through your distribution's package manager
    • Windows - Binaries available the downloads page
  • Ruby
    • OS X - Already installed
    • Linux - Typically available through your distribution's package manager
    • Windows - Read more on the downloads page
  • RubyGems
    • OS X - Already installed
    • Linux - Typically available through your distribution's package manager
    • Windows - Read more on the downloads page
  • Sass 3.3.0+
    • Any OS - gem install sass --pre
      • The --pre flag is required as of the time of this writing

Setup

Clone and Branch

git clone git@github.com:cbmi/cilantro.git
git checkout -b issue-N develop

Development Dependencies

The Node Package Manager (NPM) is used to install Grunt and all the other packages for building and testing the code base.

npm install

The "work" Task

This copies and symlinks a few files and performs the initial compilation of CoffeeScript and SCSS files under local/. The task ends with a process that will watch for changes in the files in performs the necessary compilation.

grunt work