Skip to content
Rails application that demonstrates iron_worker_ng and rails interaction
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

What is this

This is a sample rails app that demonstrates how to use iron_worker_ng with Rails

Getting Started

  1. Copy application to local computer: git clone git://github.com/thousandsofthem/iron_worker_rails_app.git

  2. Install dependencies: bundle install

  3. Rename config/_mongoid.yml to config/mongoid.yml and enter correct database credentials. Please note, your database should be accessible from outer world, so "localhost" is bad decision. Actually, your workers executes on iron.io cloud, so they should be able to connect to database. You can create free database account at https://mongolab.com/ or https://mongohq.com/

  4. Rename config/_application.yml to config/application.yml and enter correct project_id and token. You'll need to register at http://iron.io/ and get your credentials to use IronWorker service. Each account can have an unlimited number of projects, so take advantage of it by creating separate projects for development, testing and production.

  5. Upload your workers via rake task: rake worker:upload:all

Documentation

You can find more documentation here:

Something went wrong with that request. Please try again.