We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dfce28 commit 40b6b6aCopy full SHA for 40b6b6a
README.md
@@ -0,0 +1,16 @@
1
+# simple-websockets-app-py
2
+
3
+## Deployment
4
5
+- Install python packages
6
+- `aws s3 mb s3://simple-websockets-app-py`
7
+- `sam package --template-file template.yaml --output-template-file packaged.yaml --s3-bucket s3://simple-websockets-app-py`
8
+- `aws cloudformation deploy --template-file packaged.yaml --stack-name simple-websockets-app-py --capabilities CAPABILITY_IAM`
9
+- Ensure that each lambda is tied to the corresponding route for API Gateway
10
+- Deploy the APIs for `prod`
11
12
+## Connecting via websocket
13
14
+- Install node modules
15
+- `wscat -c wss://{API-ID}.execute-api.{REGION}.amazonaws.com/prod`
16
+- Type `{"action":"sendmessage", "data":"hello world!"}`
0 commit comments