Ember 2.9 project - Start from scratch
Ember 2.9 project - Start from scratch
Go to Node website
Go to Git website
Then add Git to Windows Path
A simple CLI for scaffolding Ember.js projects
$ npm install -g ember-cli
A package manager for the web
$ npm install -g bower
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
This is just a simple example, I hope this will help you to understand better Ember.