This repository has been archived by the owner on May 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
Deploying functions
Jason Dobry edited this page Dec 23, 2016
·
4 revisions
Table of Contents
They Emulator CLI's deploy
commands mirrors that of the Cloud SDK. To deploy an HTTP function to the production Google Cloud Functions service you might do this:
cd /path/to/your/module
gcloud alpha functions deploy helloWorld --trigger-http --stage-bucket=my-stage-bucket
With the Emulator it's even easier:
cd /path/to/your/module
functions deploy helloWorld --trigger-http
While the Emulator can stage your code to a Google Cloud Storage bucket during local deployment, it's unnecessary.
To get the full list of deployment options run:
functions deploy --help
TODO
TODO
TODO
Disclaimer: This is not an official Google product.
@google-cloud/functions-emulator is currently in pre-1.0.0 development. Before the 1.0.0 release, backwards compatible changes and bug fixes will bump the patch version number and breaking changes will bump the minor version number.