Ember 2.9 project - Start from scratch
- Install Node.js
Go to Node website
- Install Git
Go to Git website
Then add Git to Windows Path
- Install ember-cli
A simple CLI for scaffolding Ember.js projects
$ npm install -g ember-cli
- Install bower
A package manager for the web
$ npm install -g bower
- Install json-server
Full fake REST API
$ npm install -g json-server
-
Clone or Download the project
-
Install dependencies
$ cd my-project
$ npm install
$ bower install
- Open first command prompt
a) for dev build
$ cd my-project
$ ember server
b) for prod build
$ cd my-project
$ ember build --env production
Install http-server
A command-line http server
$ npm install -g http-server
then
$ cd my-project\dist
http-server
- Open second command prompt
$ cd my-project\fake_db
$ json-server --watch db.json
- Go to localhost
a) for dev build: localhost:4200
b) for prod build: localhost:8080
- component, model, helper
- templates (.hbs)
- include 3rd-party JS library
- Ember Normalize
- Ember Bootstrap
- Ember Sass
- Ember Document title
- Ember i18n
- Ember Favicon
- Ember Pace
- NO unit/integration test has been developed
This is just a simple example, I hope this will help you to understand better Ember.