File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,14 @@ e.g `"plugins": ["serverless-dynamodb-local"]`
42
42
` sls dynamodb executeAll -r us-west-1 -s dev `
43
43
44
44
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
45
46
46
- ## Install: ` sls dynamodb install `
47
+ ## Install: sls dynamodb install
47
48
To remove the installed dynamodb local, run:
48
49
` 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.
49
51
50
- ## Start: ` sls dynamodb start `
52
+ ## Start: sls dynamodb start
51
53
All CLI options are optional:
52
54
53
55
```
@@ -75,7 +77,7 @@ All the above options can be added to s-project.json to set default configuratio
75
77
}
76
78
```
77
79
78
- ## Create/Execute DynamoDB (Migrations)
80
+ ## Migrations: sls dynamodb create/execute/executeAll
79
81
### Configurations
80
82
In ` s-project.json ` add following to customize DynamoDB Migrations file directory and table prefixes/suffixes
81
83
``` json
@@ -180,10 +182,7 @@ new AWS.DynamoDB({
180
182
region: 'localhost',
181
183
endpoint: 'http://localhost:8000'
182
184
})
183
-
184
185
```
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
187
186
188
187
## Links
189
188
* [ Dynamodb local documentation] ( http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " serverless-dynamodb-local" ,
3
- "version" : " 0.2.3 " ,
3
+ "version" : " 0.2.4 " ,
4
4
"engines" : {
5
5
"node" : " >=4.0"
6
6
},
You can’t perform that action at this time.
0 commit comments