New Ember Application
We’ll start by creating a new Ember.js application. We’ll do this using Ember-CLI, the preferred way to start a new Ember application (per the Emberjs.com website, Figure 01)
To get started with Ember-CLI, you’ll need Node.js and NPM installed, it’s as simple as going to the Node website and clicking the big Install button on their homepage. Easy-peasy. Then it’s simply two commands:
npm install -g ember-cli ember new contacts
Then change into the
contacts directory. Open that folder in an editor of your choice.
Finally, run the command
ember serve to have your app served up on port
4200. Navigate to http://127.0.0.1:4200, and you should see a simple “Welcome to Ember.js” message.