mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
1.1 KiB
1.1 KiB
Read this on the main serverless docs site
Quickstart
This guide is designed to help you get started as quick as possible.
1. Set up boilerplate
To setup the boilerplate, follow these instructions:
- Install the boilerplate
serverless install --url https://github.com/serverless/boilerplate-googlecloudfunctions-nodejs --name <my-service>
- Install the dependencies
cd <my-service>
npm install
2. Set up the credentials
Read through credentials doc to setup the credentials.
3. Deploy
Run the deploy command
serverless deploy
4. Invoke
Run the invoke command
serverless invoke --function first