dobi-fb
v0.7.0
Published
Firebase Project Manager
Downloads
26
Maintainers
Keywords
Readme
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
Use
dobi-fb projects:add
to add projects to your development environment.Use
dobi-fb functions:setup
to create a new function.If your function is database-triggered, do not use empty string.
Your function will be placed in
./pkg/<function>/<version>
By default, the function will be loaded frommain.js/main.coffee
, but you may change the settings inconfig.json
to defined the file to load from.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 - [email protected]