- npm install firebase@8.5
- npm install -g firebase-tools
- firebase init
select blow with press space
- Firestore: Configure security rules and indexes files for Firestore
- Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys
- Storage: Configure a security rules file for Cloud Storage
- [enter]
- Use an existing project
- react-project-management-5516d (react-project-management)
- What file should be used for Firestore Rules? (firestore.rules)
- What file should be used for Firestore indexes? (firestore.indexes.json)
- What do you want to use as your public directory? build
- Configure as a single-page app (rewrite all urls to /index.html)? (y/N) y
- Set up automatic builds and deploys with GitHub? (y/N) n
- firebase deploy --only firestore
- npm run build
- firebase deploy