-
Notifications
You must be signed in to change notification settings - Fork 79
FirebaseHosting
Chuck edited this page Nov 22, 2021
·
1 revision
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
You will need to login to Firebase to be able to work with your project. Please follow these steps
- Run the following command
firebase login
- Once logged in, confirm access to projects with the following command
firebase projects:list
- 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
- Once the directory is created and Firebase has been setup, you can copy all files into the
Public
folder - To deploy to Firebase Hosting run the following command
firebase deploy
- Optionally you can also run the following command to attach a commit message to it
firebase deploy -m "Super Secret Message Goes Here"