/generator-ember

Yeoman generator for Ember

Primary LanguageJavaScript

Ember generator Build Status

Gets you started with a "Hello World" implementation of Ember.

Maintainer: Anthony Bull

Usage

First, if you have not installed yo yet via npm, do this:

  • npm install -g yo grunt-cli bower

After installing yo, execute these steps one after another:

  • npm install -g generator-ember
  • mkdir webapp && cd webapp
  • yo ember
  • grunt server --force

A page with "Welcome to Ember.js" should appear in your browser.

Options

  • --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

    Enable support for CoffeeScript.

Troubleshooting

-bash: yo: command not found

You need to make sure that npm is on your path. Add the following to your .bash_profile (or .bashrc):

PATH=/usr/local/share/npm/bin:$PATH

Credits

The Ember code is taken directly from the 1.0 RC4

Contribute

See the contributing docs

When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.

When submitting a bugfix, write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.

When submitting a new feature, add tests that cover the feature.

License

BSD license