This git repository helps you easily integrate the cloud message queue service IronMQ into your OpenShift apps.
###Step 1. Create OpenShift App###
Create an account at http://openshift.redhat.com/ and set up you local machine with the client tools.
Create a ruby-1.9 application (you can call your application whatever you want)
rhc app create ironmq ruby-1.9 --from-code git://github.com/openshift-quickstart/ironmq-openshift-quickstart.git
If --from-code
is not recognized, update your rhc
gem.
###Step 2. Configure IronMQ###
- Sign up for a developer account at http://iron.io
- Create a project
- Retrieve your token and project_id
- Enter those values into config.rb
config = {
token: 'put_token_here',
project_id: 'put_project_id_here'
}
###Step 3. Deploy your app###
git add .
git commit -m "my first commmit"
git push
###Step 4. View your app!###
http://ironmq-$yournamespace.rhcloud.com
For IronMQ's developer center visit http://dev.iron.io
For more info on the IronMQ Ruby client visit https://github.com/iron-io/iron_mq_ruby
For info on using IronMQ with other programming languages visit: http://dev.iron.io/mq/libraries/
For more information on Iron.io visit http://iron.io