Chat 21 Cloud Function Setup
Nice work guys, nice work.
In your doc, you said. "Project setup Clone or download this repo from github Run from command line: cd functions npm install"
..now I'm guessing this should be after Firebase login right? the cd functions should also be in the cmd cli (function directory) after selecting the project on fire-base in question?
where does "npm install come in?" and what target is the install? Is it the selected project in the firestore or something else?
Overall, please kindly clarify how these cloud functions should be properly run on firebase cloud service.
Thank you
Below are the steps.
- clone project.
- cd
- npm install -g firebase-tools
- npm install
- firebase login
- firebase use --add
- firebase deploy
if you encounter some dependency error during firebase deploy. Install them. #7 added dependency in package.json
sorry if i did not understand clearly about this project.
how can i use this functions in my project ???
lets say i have ionic 4 project i want to use fireabase chat functions, how it can possible ?
Below are the steps.
- clone project.
- cd
- npm install -g firebase-tools
- npm install
- firebase login
- firebase use --add
- firebase deploy
if you encounter some dependency error during firebase deploy. Install them. #7 added dependency in package.json
Failed at step 4. npm install