Skip to content

Commit c04da5c

Browse files
committed
Updating deploy CLI with sam deploy guided.
1 parent d0ea234 commit c04da5c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

README.md

+3-10
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,14 @@ The first and fastest way is to use AWS's Serverless Application Respository to
2525
If you prefer, you can install the [AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) and use it to package, deploy, and describe your application. These are the commands you'll need to use:
2626

2727
```
28-
sam package \
29-
--template-file template.yaml \
30-
--output-template-file packaged.yaml \
31-
--s3-bucket REPLACE_THIS_WITH_YOUR_S3_BUCKET_NAME
32-
33-
sam deploy \
34-
--template-file packaged.yaml \
35-
--stack-name simple-websocket-chat-app \
36-
--capabilities CAPABILITY_IAM \
37-
--parameter-overrides MyParameterSample=MySampleValue
28+
sam deploy --guided
3829
3930
aws cloudformation describe-stacks \
4031
--stack-name simple-websocket-chat-app --query 'Stacks[].Outputs'
4132
```
4233

34+
Note: `.gitignore` contains the samconfig.toml, hence make sure backup this file, or modify your .gitignore locally.
35+
4336
## Testing the chat API
4437

4538
To test the WebSocket API, you can use [wscat](https://github.com/websockets/wscat), an open-source command line tool.

0 commit comments

Comments
 (0)