Deploy to Firebase Hosting
Understand how to deploy your chat application to Firebase Hosting by installing the Firebase CLI, logging into Firebase, initializing your project for hosting, and performing a live deployment to see your app online.
Install the Firebase CLI
This course assumes that Node is installed on the machine and npm commands can be executed. CLI tools can be installed by running npm install -g firebase-tools in your terminal.
npm install -g firebase-tools
NOTE: It is already done for you in the terminal on this site.
If you get an error about permissions then run the same command but add the word sudo in front of it.
sudo npm install -g firebase-tools
When prompted for a password enter the password that allows you to sign in to your computer.
Login to Firebase
Once Firebase is installed, you will need to sign in to Firebase. To do that, we will run the ...