mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
1.0 KiB
1.0 KiB
Google - Quick Start
This guide is designed to help you get started as quick as possible.
1. Create a new service
- Create a new service with the
google-nodejstemplate
serverless create --template google-nodejs --path my-service
- Install the dependencies
cd my-service
npm install
2. Set up the credentials
Read through credentials doc to setup the credentials.
3. Update serverless.yml
Update the project and credentials in your project's serverless.yml
4. Deploy
Run the deploy command
serverless deploy
5. Invoke
Run the invoke command
serverless invoke --function first