-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and support files to start HTTPS API locally
- Loading branch information
Showing
7 changed files
with
34 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
nodejs 16.14.0 | ||
java corretto-19.0.1.10.1 | ||
aws-sam-cli 1.97.0 | ||
aws-sam-cli 1.107.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
rm -rf .aws-sam | ||
sam local start-api --host 0.0.0.0 --port 3002 --log-file dc-api.log \ | ||
--ssl-cert-file $HOME/.dev_cert/dev.rdc.cert.pem --ssl-key-file $HOME/.dev_cert/dev.rdc.key.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/bin/bash | ||
|
||
sam local start-lambda --host 0.0.0.0 --port 3005 --env-vars env.json --log-file lambda.log & lambda_pid=$! | ||
sam local start-api --host 0.0.0.0 --log-file dc-api.log & api_pid=$! | ||
sam local start-api --host 0.0.0.0 --port 3002 --log-file dc-api.log \ | ||
--ssl-cert-file $HOME/.dev_cert/dev.rdc.cert.pem --ssl-key-file $HOME/.dev_cert/dev.rdc.key.pem & api_pid=$! | ||
docker run --rm -p 8083:8083 -e LAMBDA_ENDPOINT=http://172.17.0.1:3005/ amazon/aws-stepfunctions-local | ||
kill $api_pid $lambda_pid |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.