shaunsaker / dbl-functions

Functions for the Daily Bitcoin Lottery App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbl-functions

Description

Firebase Cloud Functions for the DBL Mobile App.

Development

  1. Install dependencies:
yarn install
  1. Grab the service-account from each project and save it to ./config/development and ./config/production:
  1. Populate ./config/development/.env.dev and ./config/production/.env.prod using .env.example as a reference.

  2. 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

About

Functions for the Daily Bitcoin Lottery App


Languages

Language:TypeScript 99.5%Language:JavaScript 0.3%Language:Shell 0.2%