To set config from json file:
firebase functions:config:set service_account="$(< credentials.json)"
To set config localy:
firebase functions:config:get > .runtimeconfig.json
After that move .runtimeconfig.json
to functions
directory
To set config from json file:
firebase functions:config:set service_account="$(< credentials.json)"
To set config localy:
firebase functions:config:get > .runtimeconfig.json
After that move .runtimeconfig.json
to functions
directory