Skip to content

Commit

Permalink
Fix: update README to indicate you should set random AWS keys in deve…
Browse files Browse the repository at this point in the history
…lopment

The values are not relevant, as the local dynamodb will completely
ignore it. But they do need to be set before the code actually
works.
  • Loading branch information
TrueBrain committed Sep 17, 2020
1 parent c09de2a commit 6a01e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -56,7 +56,7 @@ This will start an empty AWS DynamoDB server on port 8000.
You can start the `master_server` by running:

```bash
.env/bin/python -m master_server --app master_server --web-port 8081 --db dynamodb --dynamodb-host http://127.0.0.1:8000
AWS_ACCESS_KEY_ID=1 AWS_SECRET_ACCESS_KEY=1 .env/bin/python -m master_server --app master_server --web-port 8081 --db dynamodb --dynamodb-host http://127.0.0.1:8000
```

This will start the server on port 3978 (default) for you to work with locally.
Expand All @@ -68,7 +68,7 @@ You can change your `/etc/hosts` or `C:\Windows\System32\drivers\etc` to map `ma
You can start the `web_api` by running:

```bash
.env/bin/python -m master_server --app web_api --web-port 8080 --db dynamodb --dynamodb-host http://127.0.0.1:8000
AWS_ACCESS_KEY_ID=1 AWS_SECRET_ACCESS_KEY=1 .env/bin/python -m master_server --app web_api --web-port 8080 --db dynamodb --dynamodb-host http://127.0.0.1:8000
```

This will start the HTTP server on port 8080 for you to work with locally.
Expand Down

0 comments on commit 6a01e31

Please sign in to comment.