Skip to content

Commit

Permalink
add example docker command to run dynamodb locally
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed May 9, 2024
1 parent 6af78e0 commit 78e524a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,13 @@ config :ex_aws, :retries,
## Testing

If you want to run `mix test`, you'll need to have a local `dynamodb` running
on port 8000. See [Setting up DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html).
on port 8000:

```console
docker run --name dynamodb -d -p 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -port 8000
```

For more info please see [Setting up DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html).

The redirect test will intentionally cause a warning to be issued.

Expand Down

0 comments on commit 78e524a

Please sign in to comment.