I recommend read firbase instruction first, then continue installation.
Install NodeJs
$ npm install --global --production windows-build-tools
and then install the package
$ npm install --global node-gyp
git clone git@github.com:<yourname>/firestore-social-backend.git
cd firestore-social-backend
cd functions && npm install
.firebaserc
if you set correct project name in default
field of projects
field.gmail.email
and gmail.password
Google Cloud environment variables to match the email and password of the Gmail account used to send emails (or the app password if your account has 2-step verification enabled). The recaptcha.secretKey
key is using for recaptcha secret key in SMS verification. The phone.sourceNumber
, plivo.authId
and plivo.authToken
are configuration from Plivo SMS Controller in SMS verification .For this use:
firebase functions:config:set gmail.email="myusername@gmail.com" gmail.password="secretpassword" recaptcha.secretkey="secretKey" phone.sourcenumber="sourceNumber" plivo.authid="authId" plivo.authtoken="authToken" setting.appname="App Name"
npm start