dbl-functions
Description
Firebase Cloud Functions for the DBL Mobile App.
Development
- Install dependencies:
yarn install
- Grab the service-account from each project and save it to
./config/development
and./config/production
:
-
Populate
./config/development/.env.dev
and./config/production/.env.prod
using.env.example
as a reference. -
Run your script, e.g.
yarn dev ./src/testing/testBookie ...ARGS
Deployment
yarn deploy
Publishing
NOTE
: With each release, the version in package.json should be updated if the package has changed. This command should be run before each release.`
TODO: SS Create a deployment script to do this on a branch instead, master should always have 1.0.0
in package.json