Update README.md
This commit is contained in:
committed by
GitHub
parent
dcfa4f823a
commit
10e39b8690
+11
-2
@@ -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.
|
||||
```
|
||||
serverless deploy --function app
|
||||
```
|
||||
|
||||
When deployed, the output will show the URL the app has been deployed to.
|
||||
|
||||
Reference in New Issue
Block a user