leyuan / Rexnews

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rexnews

The following steps required to be in the correct root folder

CRON

$ cd /functions-cron/appengine

Download gcloud SDK

Install libs

$ pip install -t lib -r requirements.txt

Deploy

$ gcloud app deploy app.yaml

$ gcloud app deploy cron.yaml

Cloud Functions

$ cd /functions-cron/appengine

$ npm install

$ firebase deploy --only functions

Verify

Cron Job Page

Firebase Console

$ firebase functions:log

Reference

this google blog

About


Languages

Language:HTML 78.1%Language:CSS 11.6%Language:JavaScript 7.9%Language:PHP 1.9%Language:Python 0.6%