Ember web app with CLI usually need quite a lot of hard drive and time to running npm install && bower install
before you can acturally running small example, so if you just want to do some quickly testing based on some example, it takes long time.
So this repository just combine all the smaller Ember.js example into one and what you need is just switch between branch by running git checkout ch3-example1 && ember s
.
All ch* example just copy from Suchit Puri's Ember.js Web Development with Ember CLI book and that's why we need GPL v3 license.
Todo-mvc example copy from brownie3003.
Tom Dale's blog example copy from balupton.
Ember News example copy from oskarrough.
Ember CRM is from Vic Ramon's Ember Tutorial, Original code is based on ember-rails gems, but now only backend on Rails API.
wge-examples is from Mike North speach original repository, PPT also available.
Hacker-News example is from sararob, but backend on Rails API instead of Firebase.
Book store example is from frank06, Building a modern bridge between Ember and Rails 5 with JSON API
Timesheet example is using ember-cli-simple-auth-devise, following adibsaad article, following writen by Eric-Guo
Rember always open the terminal with admin privileges and install & use ember-cli-windows-addon
Any new example in PR is welcome, but please do not change Ember.js/Ember Data version in package.json/bower.json, because it will be maintain at master branch, so by that, we can see only diff in ember example apps. Usually we only interested in that.
Because ember.js rapid release cycle, master branch will also using new ember.js release after, so it will invalid version problem for all example branch latter.
So except master branch, all other branch can be rebased to the master branch without notice, but I will merge all PR first to do that and it won't happen often, usually 6 weeks, same as ember.js release cycle.
You will need the following things properly installed on your computer.
git clone git@github.com:Eric-Guo/ember-examples-with-cli.git
this repositorygit checkout ch5-example1
change into any example branch you want to checknpm install & bower install
git branch
to list all example availablegit checkout <example-branch-name>
npm install & bower install
only need at first time and such example change the package.json/bower.jsonember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.