- Copy
.env.example
to.env
and set variables npx netlify link
npm run netlify
- Open http://localhost:8888/
- Go to your account settings
- At the bottom of the page, click "Register a new app"
- Name it something like
bm_autodial_dev
- Use
http://localhost:8888
as the redirect and post-deauthorize callback urls - Copy the client ID into your
.env.local
file
Install the global firebase
CLI:
npm install -g firebase-tools
Login with [email protected]
:
firebase login
Run tests:
cd functions/
npm run test
Serve the function locally:
firebase serve --only functions