diff --git a/aws-lambda/README.md b/aws-lambda/README.md index 1bb7dca..880c20f 100644 --- a/aws-lambda/README.md +++ b/aws-lambda/README.md @@ -9,18 +9,27 @@ AWS Credentials can be created following the instructions at https://serverless. To install the Serverless environment +```shell npm install serverless +``` The following serverless plugins are also used +``` serverless plugin install -n serverless-python-requirements serverless plugin install -n serverless-wsgi +``` To deploy to AWS Lambda: +``` serverless deploy +``` Once deployed, if you only need to update the code and not anything in the serverless configuration, you can update the function using: -serverless deploy --function app -When deployed, the output will show the URL the app has been deployed to. \ No newline at end of file +``` +serverless deploy --function app +``` + +When deployed, the output will show the URL the app has been deployed to.