Wrapper for the firebase-tools
package. Allows usage of firebase hosting deployment from an ember-cli app. The main advantage to this tool is that it ensures your app is built before you deploy.
You must be authenticated with Firebase to deploy from the command line. From within your Ember CLI application run:
firebase login
You must create an app in your Firebase dashboard prior to using this tool. Ideally you can name your Firebase app the same name as your ember-cli app.
From within your Ember CLI application run:
npm install --save-dev ember-cli-firebase-hosting
From within your Ember CLI application run:
ember generate firebase-hosting
This tool assumes that your ember-cli app has the same name as your Firebase app. If that is not the case open firebase.json
file and change the firebase
property from your ember-cli app's name to the name of your app in Firebase.
ember firebase deploy
npm test
MIT
Inspired by and heavily drawn from Robert Jackson's similar library for Divshot