Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tongueroo/awsrubyflowsamples
https://github.com/tongueroo/awsrubyflowsamples
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tongueroo/awsrubyflowsamples
- Owner: tongueroo
- Created: 2014-01-29T07:40:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-31T06:08:47.000Z (almost 11 years ago)
- Last Synced: 2024-10-14T22:17:10.161Z (3 months ago)
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Flow Framework for Ruby Samples
## Prerequisites
The following prerequisites must be installed to use the Amazon Flow Framework for Ruby Samples:
* [The AWS Flow Framework for Ruby][aws-flow]
To install, at the command-line prompt, type:gem install aws-flow
* The "parse-cron" gem to run the Cron Sample
To install, at the command-line prompt, type:gem install parse-cron
## Running the Samples
First, you'll need to set your aws credentials. In the credentials.cfg file(aws-config.txt for HelloWorld), simply replace MY_ACCESS_KEY_ID and MY_SECRET_ACCESS_KEY with your own AWS access keys.
In order to run these samples, run the activity and workflow files, and then run the starter.
So, for the Booking sample:
ruby booking_activity.rb &
ruby booking_workflow.rb &
ruby booking_workflow_starter.rbFor the HelloWorld sample:
ruby hello_activity.rb &
ruby hello_workflow.rb &
ruby hello_world.rbFor the Periodic sample:
ruby periodic_activity.rb &
ruby error_reporting_activity.rb &
ruby periodic_workflow.rb &
ruby periodic_workflow_starter.rbFor the Cron sample:
ruby cron_activity.rb &
ruby cron_workflow.rb &
ruby cron_starter.rbFor the Deployment sample:
ruby deployment_activity.rb &
ruby deployment_workflow.rb &
ruby deployment_workflow_starter.rb