GithubHelp home page GithubHelp logo

pir8aye / firebase-cron-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dennisalund/firebase-cron

0.0 2.0 0.0 20 KB

A simple cron/scheduler for Firebase Cloud Functions

License: GNU General Public License v3.0

Python 73.19% TypeScript 26.81%

firebase-cron-1's Introduction

Firebase Cloud Function scheduler

This is a simple cron/scheduler for Firebase Cloud Functions as described in an article that I wrote on the topic.

Firebase deploy key

Extract a Firebase deploy key for non-interactive environments by running

$ firebase login:ci

And follow the instructions in your web browser.

Cron API key

Set the API key to whatever you want. For simplicity sake, you can use random.org to get a random key.

The key must be replaced in app.yaml:

$ sed -i s/{CRON_API_KEY}/YourSecretApiKey/ app-engine/app.yaml

Deploy with Travis CI

The project is ready to be deployed with Travis CI. You just need to set the build configuration variables FIREBASE_DEPLOY_KEY and CRON_API_KEY as described above.

With a little bit of magic you can also deploy your App Engine project from Travis and that also brings the benefits of making sure that the API key is automatically injected into your App Engine configuration in the same process as it is configured for your Firebase project.

firebase-cron-1's People

Contributors

dennisalund avatar

Watchers

James Cloos avatar Finley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.