Deploying Your Functions
This guide covers everything you need to know about deploying Dartblaze functions to Firebase.
Deployment Steps
Run code generation
bashdart run build_runner build -d
This will generate the required bolierplate code and the deployment configuration.
WARNING
You must run
build_runner
every time your add or remove a functions in order to generate the new deployment config.Deploy the function
bashdartblaze deploy <function-name> --region=<database_region>
WARNING
You can only deploy one function at a time