Deploying the application
This document describes how to deploy the application. Please follow these guidelines when deploying the application.
Deploying to Firebase
Use the following guidelines when deploying to Firebase.
Prerequisites
To be able to deploy to Firebase, you need to have the following installed:
Access permissions required
To be able to deploy to Firebase, you need to have the following access permissions:
- Access to the Firebase project
- Access to the Firebase hosting
If you do not have access to the Firebase project or Firebase hosting, please contact the project owner @ owner@managetheday.com
Installing Firebase CLI
To install Firebase CLI, run the following command:
npm install -g firebase-tools
Logging into Firebase
Make sure you have access to the target project and login using your email id that has access to the project.
firebase login
Set the firebase project
firebase use firebase use manage-the-day-cb22d
Set the hosting site mapping (live/test)
In the command below manage-the-day-cb22d is the site id you can copy from firebase
firebase target:apply hosting live manage-the-day-cb22d
Deploying to Firebase
To deploy to Firebase, run the following commands:
cd app
yarn deploy-live