Skip to content

lulezi/generator-ember

 
 

Repository files navigation

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
  • sudo npm install grunt-mocha
  • grunt server

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

History

0.3.1 (2013-06-18)

0.3.0 (2013-06-16)

  • Upgraded to Ember 1.0 RC5
  • Support for scaffolding out CoffeeScript via --coffee
  • Support for jasmine as alternative test framework via --test-framework
  • Automatic script inclusions via grunt-neuter
  • New prompt

Credits

The Ember code is taken directly from the 1.0 RC6

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

About

Yeoman generator for Ember

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.3%
  • CoffeeScript 1.7%