Skip to content

FirebaseHosting

Chuck edited this page Nov 22, 2021 · 1 revision

Contents on this page:

Install the Firebase CLI

The first thing you will need to do is install the Firebase CLI which will be used in the following steps. The Firebase CLI can be found at https://firebase.google.com/docs/cli

Login and Test

You will need to login to Firebase to be able to work with your project. Please follow these steps

  1. Run the following command
firebase login
  1. Once logged in, confirm access to projects with the following command
firebase projects:list

Init and Deploy

  1. Create the directory where the project will be stored and then run the following command. This will walk you through all the features you would like installed
firebase init
  1. Once the directory is created and Firebase has been setup, you can copy all files into the Public folder
  2. To deploy to Firebase Hosting run the following command
firebase deploy
  1. Optionally you can also run the following command to attach a commit message to it
firebase deploy -m "Super Secret Message Goes Here"