Client for Sam API.
Install all node packages via yarn:
yarn
Install Firebase tools globally via npm:
npm install -g firebase-tools
Login to Firebase with credentials:
firebase login
Initialize/sync firebase directory w/ Firebase project:
firebase init
Input answers to firebase initialization steps:
y, Functions & Hosting, select existing firebase project, Javascript, n, y, build, y
Build project:
yarn build
Deploy project:
firebase deploy
Since we have Travis CI, we don't need to manually deploy to Firebase. Once we push to our branch, Travis gets triggered and builds our project and sends it to Firebase.
If we create or remove a cloud function, there are extra steps that are necessary to build the application which is when we might need manually deploy our app.