From 10e39b86903409105685308e538cafd3aa033287 Mon Sep 17 00:00:00 2001 From: Francesco Bartoli Date: Tue, 4 Jun 2019 17:37:23 +0200 Subject: [PATCH] Update README.md --- aws-lambda/README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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.