Skip to content

Commit 5e8b814

Browse files
authored
Update README.md
1 parent 108e1f1 commit 5e8b814

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Check out the **[Serverless Fullstack Application](https://github.com/serverless
2626
<img src="/assets/deploy-demo.gif" height="250" align="right">
2727

2828
1. [**Install**](#1-install)
29-
2. [**Create**](#2-create)
29+
2. [**Initialize**](#2-initialize)
3030
3. [**Deploy**](#3-deploy)
3131
4. [**Configure**](#4-configure)
3232
5. [**Develop**](#5-develop)
@@ -43,30 +43,23 @@ To get started with component, install the latest version of the Serverless Fram
4343
$ npm install -g serverless
4444
```
4545

46-
### 2. Create
46+
### 2. Initialize
4747

48-
You can easily create a new `aws-dynamodb` instance just by using the following command and template url.
48+
The easiest way to start using the `aws-dynamodb` component is by initializing the `aws-dynamodb-starter` template. Just run this command:
4949

5050
```
51-
$ serverless create --template-url https://github.com/serverless/components/tree/master/templates/aws-dynamodb
52-
$ cd aws-dynamodb
51+
$ serverless init aws-dynamodb-starter
52+
$ cd aws-dynamodb-starter
5353
```
5454

55-
Then, create a new `.env` file in the root of the `aws-dynamodb` directory right next to `serverless.yml`, and add your AWS access keys:
55+
This will create an empty `.env` file. Open that `.env` file and can add in your AWS credentials
5656

5757
```
5858
# .env
5959
AWS_ACCESS_KEY_ID=XXX
6060
AWS_SECRET_ACCESS_KEY=XXX
6161
```
6262

63-
You should now have a directory that looks something like this:
64-
65-
```
66-
|- serverless.yml
67-
|- .env
68-
```
69-
7063
### 3. Deploy
7164

7265
Once you have the directory set up, you're now ready to deploy. Just run the following command from within the directory containing the `serverless.yml` file:

0 commit comments

Comments
 (0)