Skip to content

Commit f3da557

Browse files
authored
Fixing readme style issue
1 parent 6310306 commit f3da557

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ serverless-dynamodb-local
1919
`npm install --save serverless-dynamodb-local`
2020

2121
Then in `serverless.yml` add following entry to the plugins array: `serverless-dynamodb-local`
22-
e.g
23-
```plugins:
24-
- serverless-dynamodb-local```
22+
```yml
23+
plugins:
24+
- serverless-dynamodb-local
25+
```
2526
2627
## Using the Plugin
2728
1) Install DynamoDB Local
@@ -51,7 +52,7 @@ Note: This is useful if the sls dynamodb install failed in between to completely
5152
All CLI options are optional:
5253

5354
```
54-
--port -p Port to listen on. Default: 8000
55+
--port -p Port to listen on. Default: 8000
5556
--cors -c Enable CORS support (cross-origin resource sharing) for JavaScript. You must provide a comma-separated "allow" list of specific domains. The default setting for -cors is an asterisk (*), which allows public access.
5657
--inMemory -i DynamoDB; will run in memory, instead of using a database file. When you stop DynamoDB;, none of the data will be saved. Note that you cannot specify both -dbPath and -inMemory at once.
5758
--dbPath -d The directory where DynamoDB will write its database file. If you do not specify this option, the file will be written to the current directory. Note that you cannot specify both -dbPath and -inMemory at once. For the path, current working directory is <projectroot>/node_modules/serverless-dynamodb-local/dynamob. For example to create <projectroot>/node_modules/serverless-dynamodb-local/dynamob/<mypath> you should specify -d <mypath>/ or --dbPath <mypath>/ with a forwardslash at the end.

0 commit comments

Comments
 (0)