Skip to content

ArturT/CoffeeScript-Koans-Playground

Repository files navigation

CofffeScript Koans

https://github.com/sleepyfox/coffeescript-koans

Setup

Install

Linux

  • Nodejs $ sudo apt-get install nodejs $ sudo apt-get install nodejs-dev

  • npm (the Node Package Manager) $ npm install -g coffee-script

  • Watchr $ gem install watchr

  • xdotool (used by browser_reloader.sh) $ sudo apt-get install xdotool

MacOS

  • Nodejs $ brew install node

  • npm (the Node Package Manager) $ sudo npm install -g coffee-script

  • Watchr $ gem install watchr

Run tests

Open KoansRunner.html in Chrome or Firefox

Run $ watchr koans-linux.watchr or $ watchr koans-mac.watchr for MacOS.

Start coding

Edit koans/AboutExpects.coffee

Watch what happens in your browser.