SUP is a simple app that demonostrates how to use Sneakers as a Job queue for Rails.
- Clone the repo,
bundle
,rake db:setup
. SUP uses PostgreSQL as a backend, so make sure to have it up and running. - Install RabbitMQ
$ brew install rabbitmq
- Start RabbitMQ
- Start with Foreman
$ foreman start
Visit your application, and hit the enqueue new polling job
button.
Refresh the page at will.