Install Firebase CLI
npm install -g firebase-tools
Next
Initialize your project (Sign in to Google)
firebase login
Until: Firebase CLI Login Successful!
Initiate your project
Run this command from your app’s root directory:
firebase init
1. Are you in the Home directory? => y
2. Hosting: Configure and deploy Firebase Hosting sites
3. Use an existing project.
4. What do you want to use as your public directory? Build
5. Configure as a single-page app (rewrite all urls to /index.html)? No )? No
6. Set up automatic builds and deploys with GitHub? No
Accept / authorise your email
npm run build
firebase deploy
If any change : again do the following:
npm run build
firebase deploy
Set up Firebase Hosting (basic)
Link: https://console.firebase.google.com/project/auth-recap-a35c9/hosting/sites
- Install Firebase CLI
npm install -g firebase-tools |
- Next
- Initialize your project (Sign in to Google)
firebase login |
Until: Firebase CLI Login Successful!
- Initiate your project
Run this command from your app’s root directory:
firebase init |
- 1. Are you in the Home directory? => y
2. Hosting: Configure and deploy Firebase Hosting sites
3. Use an existing project.
4. What do you want to use as your public directory? Build
5. Configure as a single-page app (rewrite all urls to /index.html)? No )? No
6. Set up automatic builds and deploys with GitHub? No
- Accept / authorise your email
npm run build |
firebase deploy |
- If any change : again do the following:
npm run build firebase deploy |