Yeoman generator for Couchapps
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CouchApp generator Build Status

Yeoman generator that scaffolds front-end web apps, and deploys them as CouchApps.

Stolen almost entirely from generator-webapp.


  • CSS Autoprefixing (new)
  • Built-in preview server with LiveReload
  • Automagically compile CoffeeScript & Compass
  • Automagically lint your scripts
  • Automagically wire up your Bower components. Supported both with and without (new) RequireJS.
  • Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
  • Mocha Unit Testing with PhantomJS
  • Optional - RequireJS
  • Optional - Twitter Bootstrap for SASS
  • Optional - Leaner Modernizr builds (new)

For more information on what generator-couchapp can do for you, take a look at the Grunt tasks used in our package.json.

Getting Started

  • Install: npm install -g generator-couchapp
  • Run: yo couchapp
  • Run grunt for building, grunt server for preview, and grunt deploy to push to CouchDB.


  • --skip-install

    Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework <framework>

    Defaults to mocha. Can be switched for another supported testing framework like jasmine.

  • --coffee

    Add support for CoffeeScript.


Want something? Either:

  1. Raise an issue.
  2. Fork me, and make a pull request.

Happy to consider any changes :D


BSD license