Gets you started with a "Hello World" implementation of Ember.
Maintainer: Anthony Bull
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.
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished. -
--test-framework=[framework]
Defaults to
mocha
. Can be switched for another supported testing framework likejasmine
. -
--coffee
Enable support for CoffeeScript.
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
- Added install step to address PhantomJS issue
- 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
The Ember code is taken directly from the 1.0 RC6
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.