mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
922 B
922 B
Read this on the main serverless docs site
Run
The run command starts the serverless service locally.
serverless run
# Shorthand
sls run
Supported Languages
NOTE: currently supports node js 6.3+ only
Supported Providers
- AWS Lambda
- Google Cloud Functions (Pub/Sub only, HTTP coming soon)
Options
--debugor-dStart the emulator in debug mode--eportor-eThe Event Gateway API port. Defaults to 4000--cportor-cThe Event Gateway configuration port. Defaults to 4001--lportor-lThe Emulator port. Defaults to 4002
Provided lifecycle events
run:run