PowerShellを使った例
PS D:\Flutter\QuizWiz> PowerShell -ExecutionPolicy RemoteSigned firebase init
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
D:\Flutter\QuizWiz
? Are you ready to proceed? Yes
? Which Firebase features do you want to set up for this directory? Press Space to select features, then Enter to
confirm your choices. Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys
=== Project Setup
First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add,
but for now we'll just set up a default project.
? Please select an option: Use an existing project
? Select a default Firebase project for this directory: quizwiz-47496 (QuizWiz)
i Using project quizwiz-47496 (QuizWiz)
=== Hosting Setup
Your public directory is the folder (relative to your project directory) that
will contain Hosting assets to be uploaded with firebase deploy. If you
have a build process for your assets, use your build's output directory.
? What do you want to use as your public directory? build/web
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
? Set up automatic builds and deploys with GitHub? No
? File build/web/index.html already exists. Overwrite? No
i Skipping write of build/web/index.html
i Writing configuration info to firebase.json...
i Writing project information to .firebaserc...
+ Firebase initialization complete!
PS D:\Flutter\QuizWiz> PowerShell -ExecutionPolicy RemoteSigned firebase deploy
=== Deploying to 'quizwiz-47496'...
i deploying hosting
i hosting[quizwiz-47496]: beginning deploy...
i hosting[quizwiz-47496]: found 27 files in build/web
+ hosting[quizwiz-47496]: file upload complete
i hosting[quizwiz-47496]: finalizing version...
+ hosting[quizwiz-47496]: version finalized
i hosting[quizwiz-47496]: releasing new version...
+ hosting[quizwiz-47496]: release complete
+ Deploy complete!
Project Console: https://console.firebase.google.com/project/quizwiz-47496/overview
Hosting URL: https://quizwiz-47496.web.app