Skip to content

visuallylab/serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Serverless

Setup

必須先設定你的 AWS credentials

~/.aws/credentials

aws_access_key_id=***************
aws_secret_access_key=***************

reference

Development

所有指令都要在各 service 資料夾下才能操作

依照功能區分每個資料夾,service 獨立運作,擁有屬於自己的 node_modules 與 deploy 機制。

  • service: like a project
  • Function: => lambda function
  • Events: trigger function to run
  • Resources: define the infrastructure resources you need in your Service depend on

deploy service

sls deploy -v

deploy function

sls deploy function --function FUNCTION_NAME

More Info

Releases

No releases published

Packages

No packages published