-
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.
If you use the pre-made Node.js installer, it should also install npm - the node.js package manager. You can then use npm to install CoffeeScript and Docco. Check their sites for installation instructions.
Well, not I don't know exactly, but this StackOverflow answer seems a good place to start. Don't know about Docco, though. Check also Building CoffeeScript with Sublime on Windows
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 which should also install npm
- Install CoffeeScript:
$ npm install --global coffee-script
- Install Compass:
$ gem update --system && gem install compass
- Install Docco:
$ sudo npm install docco
(requires your password)
-
Get
nvm
and use it to download, compile and install Node.js. -
Install
npm
:
$ curl http://npmjs.org/install.sh | sh
- Install coffeescript using npm:
$ npm install -g coffee-script
- Install
docco
:
$ apt-get install python-pygments
$ npm install -g docco
- Install
compass
using rubygems (gem install compass
).