ianmcb / autodial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

autodial

Local Development

  • Copy .env.example to .env and set variables
  • npm install netlify-cli -g
  • netlify link
  • npm run netlify
  • Open http://localhost:8888/

Creating your Beeminder test client

  • 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

Cloud Functions

Install the global firebase CLI:

npm install -g firebase-tools

Login with taskratchet@gmail.com:

firebase login

Run tests:

cd functions/
npm run test

Todos

  • Set up automatic functions deploy via gh actions on master branch
  • Set up cron trigger on gcp function via gcp scheduler
  • Require CI test passes for merge to master

About


Languages

Language:TypeScript 94.5%Language:HTML 3.0%Language:JavaScript 1.7%Language:CSS 0.7%Language:Shell 0.1%