chat21-cloud-functions icon indicating copy to clipboard operation
chat21-cloud-functions copied to clipboard

Chat 21 Cloud Function Setup

Open tobimichigan opened this issue 7 years ago • 3 comments

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

tobimichigan avatar Nov 18 '18 18:11 tobimichigan

Below are the steps.

  1. clone project.
  2. cd
  3. npm install -g firebase-tools
  4. npm install
  5. firebase login
  6. firebase use --add
  7. firebase deploy

if you encounter some dependency error during firebase deploy. Install them. #7 added dependency in package.json

sapandang avatar Jan 12 '19 19:01 sapandang

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 ?

IamSurendraThota avatar Aug 07 '19 14:08 IamSurendraThota

Below are the steps.

  1. clone project.
  2. cd
  3. npm install -g firebase-tools
  4. npm install
  5. firebase login
  6. firebase use --add
  7. 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

jinglescode avatar Jun 09 '20 10:06 jinglescode