Skip to content

Commit 9b57b5e

Browse files
authored
Update README.md
1 parent b6363f7 commit 9b57b5e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

examples/serverless-localstack/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ ddt -i
4646

4747

4848

49-
## Exercises:
50-
1. For understanding how to prepare data for transformation, take a look at "v4_using_preparation_data.js"
51-
Move the file "v4_using_preparation_data.js" to the data-transformations folder.
49+
## Exercises
50+
1. For understanding how to prepare data for transformation, take a look at [v4_using_preparation_data.js](https://github.com/jitsecurity/dynamo-data-transform/blob/main/examples/serverless-localstack/EXERCISE-prepare-data/v4_using_preparation_data.js).
51+
Move the file `v4_using_preparation_data.js` to the data-transformations folder.
5252
```bash
5353
mv EXERCISE-prepare-data/v4_using_preparation_data.js data-transformations/UsersExample
5454
```
55-
Let's check the prepare script results
55+
Let's check the `prepare` script results
5656
```bash
5757
npx sls dynamodt prepare --table UsersExample --tNumber 4 --dry
5858
```
@@ -66,23 +66,23 @@ ddt -i
6666
...
6767
}
6868
```
69-
Now lets prepare some data for the transformation. Run the same command as before but without --dry.
69+
Now lets prepare some data for the transformation. Run the same command as before but without `--dry`.
7070
```bash
7171
npx sls dynamodt prepare --table UsersExample --tNumber 4 --stage local
7272
```
7373
Let's run the pending transformation script, currently it is "v4_using_preparation_data.js"
7474
```bash
7575
npx sls dynamodt up --stage local
7676
```
77-
Now open the dynamodb GUI and check the data.
77+
Now open the dynamodb GUI and check the data.
7878
http://localhost:8001/
7979
8080
2. Rollback the last transformation
8181
```bash
8282
npx sls dynamodt down --stage local --table UsersExample --dry
8383
```
84-
Now you will see in the console that "hasWikiPage" field was removed from each item.
85-
Lets rollback the last transformation for real.
84+
Now you will see in the console that `hasWikiPage` field was removed from each item.
85+
Let's rollback the last transformation for real.
8686
```bash
8787
npx sls dynamodt down --stage local --table UsersExample
8888
```

0 commit comments

Comments
 (0)