Firebase cloud functions for Chat21. It's the server engine of Chat21 hosted on Firebase
50K+
Chat21 is the core of the open source live chat platform Tiledesk.com.
Chat21-cloud function is the backend module required for the operation of the other chat21 modules.
npm install -g firebase-tools.
More info here https://firebase.google.com/docs/cli/
If the command fails, you may need to change npm permissions as described here https://docs.npmjs.com/getting-started/fixing-npm-permissions or try to install Firebase CLI locally with npm install firebase-toolsYou can find more info about Firebase Functions here https://firebase.google.com/docs/functions/get-started
cd functions
npm install
firebase login. If you are not in localhost run firebase login --no-localhost
More info here https://firebase.google.com/docs/cli/firebase use --add, select your Project ID and follow the instructions.Deploy to Firebase using the following commands:
cd ..firebase deploy
You can now see the deployed functions on the Firebase Console under Functions menu.If you prefer you can use a pre-built docker image to deploy the cloud functions to the Firebase project:
Run:
docker run -it chat21/chat21-cloud-functions sh
After that follow the "Project setup" and "Deploy paragraphs.
Content type
Image
Digest
sha256:c6de5b62b…
Size
105.9 MB
Last updated
about 4 years ago
docker pull chat21/chat21-cloud-functions