-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,074 additions
and
6 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
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,22 @@ | ||
# Cookiecutter Ruby Step Functions Sample App (Stock Trader) for SAM based Serverless App | ||
|
||
A cookiecutter template to create a Ruby Step Functions Sample App (Stock Trader) boilerplate using [Serverless Application Model (SAM)](https://github.com/awslabs/serverless-application-model). | ||
|
||
This application creates a mock stock trading workflow which runs on a pre-defined schedule. It demonstrates the power of Step Functions to orchestrate Lambda functions and other AWS resources to form complex and robust workflows, coupled with event-driven development using Amazon EventBridge. | ||
|
||
## Requirements | ||
|
||
* [AWS SAM CLI](https://github.com/awslabs/aws-sam-cli) | ||
|
||
## Usage | ||
|
||
Generate a boilerplate template in your current project directory using the following syntax: | ||
|
||
* **Ruby {{ cookiecutter.options[cookiecutter.runtime].version }}**: `sam init --runtime {{ cookiecutter.runtime }}` | ||
|
||
> **NOTE**: ``--name`` allows you to specify a different project folder name (`sam-app` is the default) | ||
|
||
# Credits | ||
|
||
* This project has been generated with [Cookiecutter](https://github.com/audreyr/cookiecutter) |
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,20 @@ | ||
{ | ||
"project_name": "Name of the project", | ||
"runtime": ["ruby2.7", "ruby3.2"], | ||
"architectures": { | ||
"value": [ | ||
"x86_64", "arm64" | ||
] | ||
}, | ||
"options": { | ||
"ruby2.7": { | ||
"version": "2.7" | ||
}, | ||
"ruby3.2": { | ||
"version": "3.2" | ||
} | ||
}, | ||
"_copy_without_render": [ | ||
".gitignore" | ||
] | ||
} |
Oops, something went wrong.