Skip to content

Instantly share code, notes, and snippets.

View keanulee's full-sized avatar

Keanu Lee keanulee

View GitHub Profile
@keanulee
keanulee / Deploying PWA Starter Kit to Firebase.md
Created June 5, 2018 22:21 — forked from Dabolus/Deploying PWA Starter Kit to Firebase.md
A simple guide that explains how to deploy PWA Starter Kit to Firebase

Deploying prpl-server to Firebase

Firebase Hosting alone is not sufficient for hosting the prpl-server build since it requires some server-side processing of the user agent string. Instead, you will have to use Firebase Functions for that.

  1. Sign up for a Firebase account

  2. Head over the Firebase Console and create your project. Make note of the project ID associated with your app

  3. Install Firebase Command Line Tools:

$ npm i -g firebase-tools