Skip to content

Commit 03c227d

Browse files
committed
Updating README.md
1 parent 203504f commit 03c227d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ This will create a template json inside configured directory. Open the file and
8585

8686
References
8787
* Defining table schema (Dynamodb SDK): http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#createTable-property
88-
* Defining data (Dynamodb Document Client SDK): http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property
88+
* Defining seeds (Dynamodb Document Client SDK): http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property
8989

9090
To create table & run the seeds in your project root, run:
9191
`sls dynamodb table -c`
9292

9393
If you need to prefix_<your-table-name>_suffix, you can configure the values accordingly. This is usefull when you have multiple stages which needs multiple database tables
9494

95-
Optionally if you want to create the tables and run the seeds on dynamodb start dynamodb local with -c argument or add the "create": true inside s-project.json as shown below
95+
Optionally if you want to create the tables and run the seeds on dynamodb starts, use the argument -c or add the "create": true inside s-project.json as shown below
9696

9797
```json
9898
"custom": {
@@ -129,10 +129,7 @@ Note: Default port: 8000 and if you change the port, change it accordingly in us
129129

130130
## Coming up
131131

132-
* Allow you to setup dynamodb tables creation scripts, innside your project and enables to execute them locally as well as remotely with a simple set of commands
133-
* Similar to dynamodb table creation scripts, it also allows to setup your dynamodb data seeds for both local and remote
134-
* Provides the ability to setup your local development environment with the support of ['serverless-offline'](https://github.com/dherault/serverless-offline) Plugin
135-
* A fantastic and welcoming community!
132+
* Allow to create tables & run seeds remotely with a simple set of commands.
136133

137134
## Links
138135

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ module.exports = function (S) { // Always pass in the ServerlessPlugin Class
130130
return new BbPromise(function (resolve, reject) {
131131
if (options.create) {
132132
dynamodb.start(options).then(function () {
133+
console.log(""); // seperator
133134
self._tables(evt).then(resolve, reject);
134135
});
135136
} else {

0 commit comments

Comments
 (0)