Nuns Practicing Misanthropy
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

dobi-fb

0.7.0 • Public • Published

Dobi Firebase Manager

Welcome to the Dobi Firebase Manager

Quickstart Guide

First, install firebase-tools (from npm) and authenticate to your account. Create a directory, then run dobi-fb init to setup your environment.

Development Guide

  1. Use dobi-fb projects:add to add projects to your development environment.

  2. Use dobi-fb functions:setup to create a new function.

  3. If your function is database-triggered, do not use empty string.

  4. Your function will be placed in ./pkg/<function>/<version> By default, the function will be loaded from main.js/main.coffee, but you may change the settings in config.json to defined the file to load from.

  5. To deploy your functions:

  • edit the deploy_map param ./dobi-fb.json.
// example
"deploy_map"{
  "my_project": {
    "helloWorld": "1",
    "fooBar": "2"
  },
  "another_project": {
    "helloWorld": "1"
  }
}
  • optional: run dobi-fb functions:build to see how the functions compile in ./pkg/<project>/functions/pkg/<function_name>/<function_verson>

  • run dobi-fb functions:deploy to deploy your functions

TODOs

  • dobi-fb run - start a server that will allow you to test your functions
  • documentation on each command
  • documentation on managing keys
  • when keys are updated, clear out the keys first
  • diff views for function changes
  • adding node dependencies documentation
  • add a kill switch
  • command to list URLs to deployed function logs / config URLs i

Info

Author: Steven Anderson / Maestro.io - steven@sjanderson.org

Install

npm i dobi-fb

DownloadsWeekly Downloads

25

Version

0.7.0

License

none

Unpacked Size

350 kB

Total Files

41

Homepage

www.dobi.io

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar