-
Notifications
You must be signed in to change notification settings - Fork 12
Prerequisites
Besides git, you'll need:
- The node.js JavaScript runtime.
-
The CoffeeScript compiler which also includes the
cake
utility. - The Compass CSS framework (optional).
- The Docco documentation generator (optional).
Note that without Compass, you won't be able to compile SASS files to CSS, so some build tasks (i.e. cake app
and cake sass
) will fail. Without Docco, you won't be able to generate HTML docs, so cake docs
will fail.
The easiest way to get CoffeeScript is via npm - the Node Package Manager. Follow the installation instructions to install npm, and then go to CoffeeScript's site, and follow their installation instructions.
Well, not I don't know exactly, but this StackOverflow answer seems a good place to start.
For Compass, you'll need Ruby and RubyGems installed.
On Mac OS X, both Ruby and RubyGems is preinstalled, so just follow the installation instructions on Compass' site
No idea. Have fun!
NOTE I'm writing this in the past, so check the sites for updates. This is just here for reference. $ ...
means that it's a Terminal command, i.e. type everything after the $
into the Terminal and hit the return key.
- Install Node.js using the installer from nodejs.org
- Install npm:
$ curl http://npmjs.org/install.sh | sh
and hitting the return key - Install CoffeeScript:
$ npm install --global coffee-script
- Install Compass:
$ gem update --system && gem install compass
- Install Docco:
$ sudo npm install docco
(requires your password)