Complete the code to initialize a new Firebase project with the Firebase CLI.
firebase [1]The firebase init command starts the setup process for a new Firebase project in your directory.
Complete the code to select an existing Firebase project during initialization.
firebase init [1]The --project flag lets you specify which Firebase project to use during initialization.
Fix the error in the command to deploy Firebase functions after project setup.
firebase [1] --only functionsThe firebase deploy --only functions command uploads your cloud functions to Firebase.
Fill both blanks to initialize Firebase hosting and select the public directory.
firebase init [1] --public [2]
The hosting option sets up Firebase Hosting, and public specifies the folder with your web files.
Fill all three blanks to deploy hosting with a specific project and confirm deployment.
firebase deploy --only [1] --project [2] --[3]
This command deploys hosting to the specified project and confirms the action automatically.