We are going to use the Yeoman Ember generator to scaffold the pieces of an Ember.js web application. This project will get you started with a basic application that can be used as a starting point for creating a more robust application.
To install the Yeoman Ember generator, execute the following command:
$ npm install -g generator-ember
The version required for the following steps is 0.8.3.
First, create a folder named learning-yeoman-ch5
and then make that your current working directory. Now, to scaffold the application, open a terminal and execute the following command:
$ yo ember --test-framework=jasmine --coffee --karma
This command does the following:
Creates an initial project located in the current directory
Sets the test framework to use Jasmine
Sets the project scripting language to CoffeeScript
Sets the project to use the Karma test runner
And will prompt whether...