Skip to content

bettersg/checkMate

Repository files navigation

Firebase-Functions

First Time Setup

  1. git clone https://github.com/CheckMateSG/checkMate.git
  2. cd checkMate
  3. npm install -g firebase-tools
  4. npm run postinstall
  5. run firebase login --no-localhost then login with your betterSG email
  6. set up tunnel to localhost. Can contact BW for cloudflare tunnel

Each Time Developing

  1. Open 3 shells from in root directory
  2. [Shell 1] make firebase
  3. [Shell 2] make functions [hot reload for functions]
  4. [Shell 3] make checkers-app [hot reload for webapp]
  5. Can start on development

In the event the Makefile doesn't work,

  1. Open 3 shells from in root directory
  2. [Shell 1] cd functions
  3. [Shell 1] npm run build:watch [hot reload for functions]
  4. [Shell 2] cd checkers-app [hot reload for webapp]
  5. [Shell 2] npm run build:watch
  6. [Shell 3] npm run serve
  7. Can start on development

Useful Resources and links:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages