Skip to content

Commit d23e582

Browse files
author
Michal Ploski
committed
Add some fixes based on PR comments
1 parent f665b87 commit d23e582

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ With [pip](https://pip.pypa.io/en/latest/index.html) installed, run: ``pip insta
5151

5252
## Connect
5353

54-
* **AWS Developers Slack**: `#lambda-powertools`**
54+
* **AWS Developers Slack**: `#lambda-powertools`** - **[Invite, if you don't have an account](https://join.slack.com/t/awsdevelopers/shared_invite/zt-gu30gquv-EhwIYq3kHhhysaZ2aIX7ew)**
5555
* **Email**: [email protected]
5656

5757
## License

docs/quickstart.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,20 @@ description: Powertools introduction
44
---
55
Quickstart introducing core Powertools functionalities.
66

7+
## Requirements
8+
* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) installed.
9+
* [SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) installed.
10+
* [AWS Credentials to your AWS Account](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-set-up-credentials.html) configured.
711

812
## Getting started
9-
With [SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) installed, let's clone our sample project before we add one feature at a time.
13+
Let's clone our sample project before we add one feature at a time.
1014

1115
???+ tip "Tip: Want to skip to the final project?"
1216
Bootstrap directly via SAM CLI: `sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python`
1317
=== "shell"
1418
```bash
1519
sam init --runtime python3.9 --dependency-manager pip --app-template hello-world --name powertools-quickstart
1620
```
17-
If you want to play with the final code, then you can download it from [aws-samples](https://github.com/aws-samples/cookiecutter-aws-sam-python) github repository.
18-
=== "shell"
19-
```bash
20-
sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python
21-
```
22-
### Configuration
23-
If you deploy code from Quickstart make sure to [set up your AWS credentials](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-set-up-credentials.html).
2421

2522
### Code example
2623
Within the `powertools-quickstart` folder, we will modify the following files:
@@ -266,7 +263,7 @@ The simple code might look similar to the following code snippet.
266263

267264
* We add two methods: `hello_name` and `hello` (line 1-7).
268265
* We add the `Router` class which allows us to record the method that should be called when the specific request arrives (line 10-23).
269-
* We creat the instance and added the configuration with the mapping of the processing methods and the http query method (line 26-28).
266+
* We create the instance and added the configuration with the mapping of the processing methods and the http query method (line 26-28).
270267
* In the lambda handler, we call router instance `get` method to retrieve a reference to the processing method (`hello` or `hello_name`) that will process the query (line 34).
271268
* Finally, we run this method and send the results back to API Gateway (line 35).
272269

0 commit comments

Comments
 (0)