Skip to content

Commit c11c45f

Browse files
authored
Update README.md
1 parent 70b128b commit c11c45f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# was_tasks
1+
# aws_tasks
22

33
## Infrastructure
44

@@ -29,12 +29,15 @@ $ poetry run pytest tests.py
2929

3030
## Creating the DynamoDB and running the server locally
3131

32+
```bash
3233
export AWS_ACCESS_KEY_ID=abc && export AWS_SECRET_ACCESS_KEY=abc && export AWS_DEFAULT_REGION=eu-west-1 && export TABLE_NAME="local-tasks-api-table" && export DYNAMODB_URL=http://localhost:9999
3334
poetry run python create_dynamodb_locally.py
3435
poetry run uvicorn main:app --reload
36+
```
3537

3638
If you see following error, you only need to give your user the rights of the folder:
3739

40+
```
3841
dynamodb-local | Oct 07, 2024 8:25:37 PM com.almworks.sqlite4java.Internal log
3942
dynamodb-local | WARNING: [sqlite] SQLiteQueue[shared-local-instance.db]: stopped abnormally, reincarnating in 3000ms
4043
dynamodb-local | Oct 07, 2024 8:25:40 PM com.almworks.sqlite4java.Internal log
@@ -54,10 +57,12 @@ dynamodb-local | at java.base/java.lang.Thread.run(Thread.java:840)
5457
dynamodb-local |
5558
dynamodb-local | Oct 07, 2024 8:25:40 PM com.almworks.sqlite4java.Internal log
5659
dynamodb-local | WARNING: [sqlite] SQLiteQueue[shared-local-instance.db]: stopped abnormally, reincarnating in 3000ms
60+
```
5761

62+
Run the following command in your bash session:
5863

5964
```bash
6065
sudo chown -R $user: docker
6166
```
6267

63-
Where `$user` is your Docker user.
68+
Where `$user` is your Docker user.

0 commit comments

Comments
 (0)