Skip to content

Commit

Permalink
Updated README with instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
asvand committed Jan 6, 2021
1 parent 79c8be6 commit 9a54e4e
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion workshop/binarydecoder/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# Sample for workshop "How to build a binary decoder for AWS IoT Core for LoRaWAN"
# Sample for workshop "How to build a binary decoder for AWS IoT Core for LoRaWAN"

## Prerequisites

The sample requires SAM CLI, you can find installation instructions [here](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html).

## Deployment

Please perform the following steps to deploy a sample application:

1. Check out this repository on your computer

```shell
git clone https://github.com/aws-samples/aws-iot-core-lorawan --branch experimental
cd workshop/binarydecoder
```

2. Please review the SAM template [template.yaml](template.yaml) to understand the ressources that will be created in your AWS accoumt.

3. This sample uses [AWS SAM](https://docs.aws.amazon.com/serverless-application-model/index.html) to build and deploy all necessary resources (e.g. AWS Lambda function, AWS IoT Rule, AWS IAM Roles) to your AWS account. Please perform the following commands to build the SAM artifacts:

```shell
sam build
```

4. Deploy the SAM template to your AWS account.

```shell
sam deploy --guided
```

You can use the default parameters.

Please note that `sam deploy --guided` should be only executed for a first deployment. To redeploy after that please use `sam deploy`.


0 comments on commit 9a54e4e

Please sign in to comment.