coffeeapp: Have some CoffeeScript on the CouchApp
Assuming you’ve gotten CoffeeScript installed including its Node.js dependencies, you can install CoffeeApp via the excellent npm.
npm install coffeeapp
You can then invoke
coffeeapp with the normal
CoffeeApp maintains a .releases folder where your *.coffee files are converted to to *.js on-the-fly before pushing to CouchDB.
Andrzej has made a flurry of changes yesterday including some nifty generators:
$ coffeeapp cgenerate view myview CoffeeApp (v0.0.5) - simple coffee-script wrapper for CouchApp (http://couchapp.org) http://github.com/andrzejsliwa/coffeeapp Running CoffeeApp 'view' generator... * creating myview/map.coffee... * creating myview/reduce.coffee... done.
Sign in or Join to comment or subscribe