Skip to content

Commit af2f8c6

Browse files
Merge pull request #35 from AshanFernando/master
Readme update
2 parents 99bdb0a + fc91cf4 commit af2f8c6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ e.g `"plugins": ["serverless-dynamodb-local"]`
4242
`sls dynamodb executeAll -r us-west-1 -s dev`
4343

4444
Note: Read the detailed section for more information on advanced options and configurations
45+
Open a browser and go to the url http://localhost:8000/shell to access the web shell for dynamodb local
4546

46-
## Install: `sls dynamodb install`
47+
## Install: sls dynamodb install
4748
To remove the installed dynamodb local, run:
4849
`sls dynamodb remove`
50+
Note: This is useful if the sls dynamodb install failed in between to completely remove and install a new copy of DynamoDB local.
4951

50-
## Start: `sls dynamodb start`
52+
## Start: sls dynamodb start
5153
All CLI options are optional:
5254

5355
```
@@ -75,7 +77,7 @@ All the above options can be added to s-project.json to set default configuratio
7577
}
7678
```
7779

78-
## Create/Execute DynamoDB (Migrations)
80+
## Migrations: sls dynamodb create/execute/executeAll
7981
### Configurations
8082
In `s-project.json` add following to customize DynamoDB Migrations file directory and table prefixes/suffixes
8183
```json
@@ -180,10 +182,7 @@ new AWS.DynamoDB({
180182
region: 'localhost',
181183
endpoint: 'http://localhost:8000'
182184
})
183-
184185
```
185-
Open a browser and go to the url http://localhost:8000/shell to access the web shell for dynamodb local
186-
Note: Default port: 8000 and if you change the port, change it accordingly in usage
187186

188187
## Links
189188
* [Dynamodb local documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-dynamodb-local",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"engines": {
55
"node": ">=4.0"
66
},

0 commit comments

Comments
 (0)