Make sure serverless
is installed and you have setup your credentials.
serverless create --template google-nodejs --path my-service
npm install
in the service directory.
provider
propertyUpdate the credentials
and your project
property in the serverless.yml
file.
serverless deploy
serverless invoke --function first
In your terminal window you should see a response from the Google Cloud
Congrats you have deployed and ran your Hello World function!
Product