Firebase example
$ ember new chat
$ cd chat/
$ npm install --save emberfire
$ npm install -g firebase-tools
$ firebase init
... provide app info and login
Adjust firebase.json
{
"firebase": "emberjax-chat",
"public": "dist/",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [ {
"source": "**",
"destination": "/index.html"
}]
}
$ ember serve
Visit localhost:4200
and you should see "Welcome to Ember.js"
If you get a build error like:
install Firebase 2.2.3 with bower:
$ bower install --save firebase#2.2.3
##Deploy
$ firebase deploy
Successfully deployed
$ firebase open