Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Latest commit

 

History

History
58 lines (33 loc) · 1.32 KB

README.md

File metadata and controls

58 lines (33 loc) · 1.32 KB

Ember-cli-firebase-hosting

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.

Setup

Authenticate with Firebase

You must be authenticated with Firebase to deploy from the command line. From within your Ember CLI application run:

firebase login

Create Firebase App

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.

Usage

Installation

From within your Ember CLI application run:

npm install --save-dev ember-cli-firebase-hosting

Setting up Firebase Hosting

From within your Ember CLI application run:

ember generate firebase-hosting

App naming

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.

Deploy

ember firebase deploy

Contributing

Running Tests

  • npm test

License

MIT

Inspired by and heavily drawn from Robert Jackson's similar library for Divshot